diff options
author | Nick Clifton <nickc@redhat.com> | 2008-02-14 12:33:17 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2008-02-14 12:33:17 +0000 |
commit | 0e3361806e70915db9de9188400cb4bfa76fc998 (patch) | |
tree | d9a545aeafdc1bad634401374061892773d50c1b /opcodes/configure | |
parent | d40f3da9047364a8af792452aafac81fb5de5e74 (diff) | |
download | gdb-0e3361806e70915db9de9188400cb4bfa76fc998.zip gdb-0e3361806e70915db9de9188400cb4bfa76fc998.tar.gz gdb-0e3361806e70915db9de9188400cb4bfa76fc998.tar.bz2 |
PR binutils/5524
* configure.in (SHARED_LIBADD): Select the correct host specific
file extension for shared libraries.
* configure: Regenerate.
Diffstat (limited to 'opcodes/configure')
-rwxr-xr-x | opcodes/configure | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/opcodes/configure b/opcodes/configure index 84b2a22..80b1a74 100755 --- a/opcodes/configure +++ b/opcodes/configure @@ -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 |