PR binutils/5524
[deliverable/binutils-gdb.git] / opcodes / configure
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
This page took 0.028158 seconds and 4 git commands to generate.