* libtool.m4: Fixes for the OpenBSD support

This commit is contained in:
Brad 2004-09-12 13:50:19 +00:00 committed by Peter O'Gorman
parent f0cb3767cf
commit d5a1f2b45c
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2004-09-12 Brad <brad@comstyle.com>
* libtool.m4: Fixes for the OpenBSD support
2004-09-12 Peter O'Gorman <peter@pogma.com>
Our fortran tests were not very good. All the libraries created

4
m4/libtool.m4 vendored
View File

@ -5106,7 +5106,9 @@ if test "$caught_CXX_error" != yes; then
;;
openbsd*)
_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
_LT_TAGVAR(hardcode_direct, $1)=yes
_LT_TAGVAR(hardcode_shlibpath_var, $1)=no
_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'