aboutsummaryrefslogtreecommitdiff
path: root/devel/libtool14/files/patch-ac
blob: 43bdc69d080d0669d34cf66caca41de6db5c287c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- ltconfig.orig	Mon Mar 15 19:38:58 1999
+++ ltconfig	Mon Apr  5 01:40:53 1999
@@ -1672,14 +1672,16 @@
     freebsd-elf*)
       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*`
+      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
       ;;
     freebsd-*)
-      deplibs_check_method=unknown
-      library_names_spec='${libname}${release}.so$versuffix $libname.so$versuffix'
+      deplibs_check_method='file_magic FreeBSD.* 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 $libname.so'
       need_version=yes
       ;;
   esac