PR binutils/5524
authorNick Clifton <nickc@redhat.com>
Thu, 14 Feb 2008 12:33:17 +0000 (12:33 +0000)
committerNick Clifton <nickc@redhat.com>
Thu, 14 Feb 2008 12:33:17 +0000 (12:33 +0000)
   * configure.in (SHARED_LIBADD): Select the correct host specific
   file extension for shared libraries.
   * configure: Regenerate.

opcodes/ChangeLog
opcodes/configure
opcodes/configure.in

index d6a245a8c25322c176df070e6a7ca4618ca9f2f6..d750f8f49d6340c4ceb3d0c29625415e97714e96 100644 (file)
@@ -1,3 +1,10 @@
+2008-02-14  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/5524
+       * configure.in (SHARED_LIBADD): Select the correct host specific
+       file extension for shared libraries.
+       * configure: Regenerate.
+
 2008-02-13  Jan Beulich  <jbeulich@novell.com>
 
        * i386-opc.h (RegFlat): New.
index 84b2a227381142fc8d0f545c249ba680980b1fc0..80b1a7435ea74de7d52b1cb3ce844f62116beb07 100755 (executable)
@@ -11453,8 +11453,19 @@ if test "$enable_shared" = "yes"; then
       SHARED_LDFLAGS="-no-undefined"
       SHARED_LIBADD="-L`pwd`/../bfd -lbfd -L`pwd`/../libiberty -liberty -L`pwd`/../intl -lintl -lcygwin"
       ;;
+   *-*-darwin*)
+     SHARED_LIBADD="-Wl,`pwd`/../bfd/.libs/libbfd.dylib"
+     SHARED_DEPENDENCIES="../bfd/libbfd.la"
+     ;;
     *)
-      SHARED_LIBADD="-Wl,`pwd`/../bfd/.libs/libbfd.so"
+      case "$host_vendor" in
+        hp)
+          SHARED_LIBADD="-Wl,`pwd`/../bfd/.libs/libbfd.sl"
+         ;;
+       *)
+          SHARED_LIBADD="-Wl,`pwd`/../bfd/.libs/libbfd.so"
+         ;;
+      esac
       SHARED_DEPENDENCIES="../bfd/libbfd.la"
       ;;
   esac
index 460d95dea927dc9c0ff7f56dbc828d15e952973b..08011be7faf5992d58ecbe0141c81464f61543ab 100644 (file)
@@ -107,8 +107,19 @@ if test "$enable_shared" = "yes"; then
       SHARED_LDFLAGS="-no-undefined"
       SHARED_LIBADD="-L`pwd`/../bfd -lbfd -L`pwd`/../libiberty -liberty -L`pwd`/../intl -lintl -lcygwin"
       ;;
+   *-*-darwin*)
+     SHARED_LIBADD="-Wl,`pwd`/../bfd/.libs/libbfd.dylib"
+     SHARED_DEPENDENCIES="../bfd/libbfd.la"
+     ;;
     *)
-      SHARED_LIBADD="-Wl,`pwd`/../bfd/.libs/libbfd.so"
+      case "$host_vendor" in
+        hp)
+          SHARED_LIBADD="-Wl,`pwd`/../bfd/.libs/libbfd.sl"
+         ;;
+       *)
+          SHARED_LIBADD="-Wl,`pwd`/../bfd/.libs/libbfd.so"
+         ;;
+      esac
       SHARED_DEPENDENCIES="../bfd/libbfd.la"
       ;;
   esac