mirror of
git://git.savannah.gnu.org/libtool.git
synced 2025-03-31 16:10:35 +08:00
* m4/libtool.m4: More improvements to OpenBSD support.
* NEWS: Updated.
This commit is contained in:
parent
3cb36d316f
commit
fa497f68e7
@ -1,3 +1,8 @@
|
||||
2004-06-16 Brad <brad@comstyle.com>
|
||||
|
||||
* m4/libtool.m4: More improvements to OpenBSD support.
|
||||
* NEWS: Updated.
|
||||
|
||||
2004-06-16 Gary V. Vaughan <gary@gnu.org>
|
||||
|
||||
Automake 1.9 won't have the AC_PROG_EGREP bug (aclocal used to
|
||||
|
1
NEWS
1
NEWS
@ -53,6 +53,7 @@ New in 1.5b: 2004-??-??; CVS version 1.5a, Libtool team:
|
||||
latest files.
|
||||
* Extracting symbols from an import library on cygwin and win32 now works.
|
||||
* Initial support for amigaos-ppc.
|
||||
* Improved support for OpenBSD.
|
||||
* Support for Intel C++ version 8.0.
|
||||
* New support for IBM's xlc and xlc++ on Mac OS X.
|
||||
* Finished support for QNX RTOS.
|
||||
|
22
m4/libtool.m4
vendored
22
m4/libtool.m4
vendored
@ -1996,7 +1996,7 @@ newsos6)
|
||||
openbsd*)
|
||||
version_type=sunos
|
||||
need_lib_prefix=no
|
||||
need_version=yes
|
||||
need_version=no
|
||||
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
|
||||
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
|
||||
shlibpath_var=LD_LIBRARY_PATH
|
||||
@ -2496,12 +2496,10 @@ newos6*)
|
||||
;;
|
||||
|
||||
openbsd*)
|
||||
lt_cv_file_magic_cmd=/usr/bin/file
|
||||
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
|
||||
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
|
||||
lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB shared object'
|
||||
lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$'
|
||||
else
|
||||
lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
|
||||
lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
|
||||
fi
|
||||
;;
|
||||
|
||||
@ -4048,6 +4046,7 @@ _LT_EOF
|
||||
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
|
||||
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
|
||||
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
|
||||
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
|
||||
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
|
||||
_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
|
||||
else
|
||||
@ -5101,6 +5100,19 @@ if test -n "$compiler"; then
|
||||
*nto* | *qnx*)
|
||||
_LT_AC_TAGVAR(ld_shlibs, $1)=yes
|
||||
;;
|
||||
openbsd2*)
|
||||
# C++ shared libraries are fairly broken
|
||||
_LT_AC_TAGVAR(ld_shlibs, $1)=no
|
||||
;;
|
||||
openbsd*)
|
||||
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
|
||||
_LT_AC_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_AC_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'
|
||||
_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
|
||||
_LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
|
||||
fi
|
||||
;;
|
||||
osf3*)
|
||||
case $cc_basename in
|
||||
KCC)
|
||||
|
Loading…
x
Reference in New Issue
Block a user