From: Brian Wellington Date: Wed, 25 Oct 2000 13:29:27 +0000 (+0000) Subject: The libtool update broke netbsd [RT #414] X-Git-Tag: v9.0.1rc1~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c168afbec236fb9b4d3128f60829a72f7b3779a7;p=thirdparty%2Fbind9.git The libtool update broke netbsd [RT #414] --- diff --git a/ltconfig b/ltconfig index 506f252816e..1fbc0d8dbe2 100755 --- a/ltconfig +++ b/ltconfig @@ -1194,11 +1194,11 @@ EOF netbsd*) if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then - archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - else - archive_cmds='$LD -Bshareable $libobjs $deplibs $linkopts -o $lib' + archive_cmds='$LD -Bshareable $libobjs $deplibs $linkopts -o $lib' # a.out # can we support soname and/or expsyms with a.out? -oliva + else + archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' # ELF fi ;;