2001-10-20 H.J. Lu <hjl@gnu.org>
[deliverable/binutils-gdb.git] / bfd / configure.in
index c952d9c9dc62ec661290f0c8f7811f71a23622ec..a52f57ddc79f2dd9d12f96122829119fb1c0433d 100644 (file)
@@ -410,6 +410,13 @@ case "${host}" in
     WIN32LIBADD="-L`pwd`/../libiberty -liberty -L`pwd`/../intl -lintl -lcygwin -lkernel32"
   fi
   ;;
+*)
+  # We borrow WIN32LIBADD so that the shared libbfd won't depend on
+  # libiberty.a.
+  if test "$enable_shared" = "yes"; then
+    WIN32LIBADD="-L../libiberty/pic -liberty"
+  fi
+  ;;
 esac
 AC_SUBST(WIN32LDFLAGS)
 AC_SUBST(WIN32LIBADD)
This page took 0.024624 seconds and 4 git commands to generate.