diff options
author | sobomax <sobomax@FreeBSD.org> | 2002-06-08 16:57:34 +0800 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2002-06-08 16:57:34 +0800 |
commit | 973b30b10998d6b765d9cccf5ae35cff0cc400db (patch) | |
tree | 1aab048aeb2435e0ba9563a5162f02d7022c9c4c /devel/libtool15/files | |
parent | e4b64cca7e43f4736287bd2b3ad2f257297f3723 (diff) | |
download | freebsd-ports-gnome-973b30b10998d6b765d9cccf5ae35cff0cc400db.tar.gz freebsd-ports-gnome-973b30b10998d6b765d9cccf5ae35cff0cc400db.tar.zst freebsd-ports-gnome-973b30b10998d6b765d9cccf5ae35cff0cc400db.zip |
Recognise ar(1) archives (.a) as a valid entities to link with. This fixes
many places when it is necessary to link shared object with a static library.
Diffstat (limited to 'devel/libtool15/files')
-rw-r--r-- | devel/libtool15/files/patch-ac | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/devel/libtool15/files/patch-ac b/devel/libtool15/files/patch-ac index d84fdde59b54..3a1894e10003 100644 --- a/devel/libtool15/files/patch-ac +++ b/devel/libtool15/files/patch-ac @@ -1,5 +1,8 @@ + +$FreeBSD$ + --- ltconfig.orig Tue Dec 7 23:50:48 1999 -+++ ltconfig Wed Sep 20 11:11:39 2000 ++++ ltconfig Sat Jun 8 11:48:12 2002 @@ -169,7 +169,7 @@ # Constants: PROGRAM=ltconfig @@ -104,15 +107,17 @@ file_magic_cmd= file_magic_test_file= deplibs_check_method='unknown' -@@ -1874,18 +1880,21 @@ +@@ -1873,19 +1879,22 @@ + version_type=freebsd-$objformat case "$version_type" in freebsd-elf*) - deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object' +- deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object' - file_magic_cmd=/usr/bin/file - file_magic_test_file=`echo /usr/lib/libc.so*` - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so' - need_version=no - need_lib_prefix=no ++ deplibs_check_method='file_magic (ELF [0-9][0-9]*-bit [LM]SB shared object|current ar archive)' ;; freebsd-*) - deplibs_check_method=unknown |