* configure.in (SHARED_LIBADD): Select the correct host specific
file extension for shared libraries.
* configure: Regenerate.
+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.
2008-02-13 Jan Beulich <jbeulich@novell.com>
* i386-opc.h (RegFlat): New.
SHARED_LDFLAGS="-no-undefined"
SHARED_LIBADD="-L`pwd`/../bfd -lbfd -L`pwd`/../libiberty -liberty -L`pwd`/../intl -lintl -lcygwin"
;;
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
SHARED_DEPENDENCIES="../bfd/libbfd.la"
;;
esac
SHARED_LDFLAGS="-no-undefined"
SHARED_LIBADD="-L`pwd`/../bfd -lbfd -L`pwd`/../libiberty -liberty -L`pwd`/../intl -lintl -lcygwin"
;;
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
SHARED_DEPENDENCIES="../bfd/libbfd.la"
;;
esac