From: Gary V. Vaughan Date: Sun, 5 Aug 2001 11:54:01 +0000 (+0000) Subject: From Brad : X-Git-Tag: release-1-4-1~10 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=22dfc1331778be1b08fed521f5eae2ea2c909d24;p=thirdparty%2Flibtool.git From Brad : * libtool.m4 [openbsd]: OpenBSD can build modules without a `lib' prefix and version number. --- diff --git a/ChangeLog b/ChangeLog index 097da715f..752489683 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2001-08-05 Gary V. Vaughan + + From Brad : + * libtool.m4 [openbsd]: OpenBSD can build modules without a `lib' + prefix and version number. + 2001-08-04 Gary V. Vaughan From Edouard G. Parmelan diff --git a/libtool.m4 b/libtool.m4 index a0e484428..1e6007fbe 100644 --- a/libtool.m4 +++ b/libtool.m4 @@ -2127,12 +2127,16 @@ newsos6) openbsd*) version_type=sunos + need_lib_prefix=no + need_version=no file_magic_cmd=/usr/bin/file file_magic_test_file=`echo /usr/lib/libc.so.*` if test "`echo __ELF__ | $CC -E - | grep __ELF__`" = "" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then [deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'] + shlibpath_overrides_runpath=no else deplibs_check_method='file_magic OpenBSD.* shared library' + shlibpath_overrides_runpath=yes fi library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'