Make libtool actually use library dependencies for a.out, since we do in fact

support them.  This fixes a whole pile of lossage in GNOME-land.
This commit is contained in:
mycroft 2000-11-17 05:24:00 +00:00
parent 6186e5b612
commit 69fa62655d
2 changed files with 14 additions and 7 deletions

View file

@ -1,5 +1,5 @@
$NetBSD: patch-sum,v 1.12 2000/10/12 19:07:07 skrll Exp $
$NetBSD: patch-sum,v 1.13 2000/11/17 05:24:00 mycroft Exp $
MD5 (patch-aa) = f8cff8ebe275632555d567076adf514c
MD5 (patch-aa) = 80682cef154f0bfd33e909dfdc842271
MD5 (patch-ab) = b550fbb6345a031c6ea34ee66ec257e1
MD5 (patch-ac) = be7e8b63e245f3d9ba4e19c5fd928d00

View file

@ -1,7 +1,7 @@
$NetBSD: patch-aa,v 1.14 2000/10/12 19:07:07 skrll Exp $
$NetBSD: patch-aa,v 1.15 2000/11/17 05:24:01 mycroft Exp $
--- ltconfig.in.orig Sat May 27 02:58:57 2000
+++ ltconfig.in
--- ltconfig.in.orig Sat May 27 01:58:57 2000
+++ ltconfig.in Fri Nov 17 05:14:58 2000
@@ -1194,11 +1194,17 @@
netbsd*)
@ -46,7 +46,14 @@ $NetBSD: patch-aa,v 1.14 2000/10/12 19:07:07 skrll Exp $
hardcode_direct=yes
hardcode_shlibpath_var=no
;;
@@ -2012,6 +2026,9 @@
@@ -2008,10 +2022,16 @@
netbsd*)
version_type=sunos
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
+ deplibs_check_method='file_magic NetBSD/[a-z0-9]* demand paged shared library'
+ file_magic_cmd=/usr/bin/file
+ file_magic_test_file=`echo /usr/lib/libc.so*`
library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
dynamic_linker='NetBSD (a.out) ld.so'
else
@ -56,7 +63,7 @@ $NetBSD: patch-aa,v 1.14 2000/10/12 19:07:07 skrll Exp $
library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so ${libname}.so'
soname_spec='${libname}${release}.so$major'
dynamic_linker='NetBSD ld.elf_so'
@@ -2069,7 +2086,7 @@
@@ -2069,7 +2089,7 @@
;;
solaris*)