sync with brad's changes, affects plugins version numbering
This commit is contained in:
parent
81434da8ea
commit
6c75146c89
@ -1,7 +1,7 @@
|
|||||||
$OpenBSD: patch-ltconfig,v 1.2 2001/07/22 20:40:06 pvalchev Exp $
|
$OpenBSD: patch-ltconfig,v 1.3 2001/08/04 04:25:36 pvalchev Exp $
|
||||||
--- ltconfig.orig Thu Jul 13 23:54:59 2000
|
--- ltconfig.orig Sat Jul 17 23:11:50 1999
|
||||||
+++ ltconfig Fri Jul 20 22:27:14 2001
|
+++ ltconfig Fri Aug 3 22:18:33 2001
|
||||||
@@ -1105,6 +1105,9 @@ cygwin* | mingw*)
|
@@ -1061,6 +1061,9 @@ cygwin* | mingw*)
|
||||||
with_gnu_ld=no
|
with_gnu_ld=no
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
@ -11,7 +11,7 @@ $OpenBSD: patch-ltconfig,v 1.2 2001/07/22 20:40:06 pvalchev Exp $
|
|||||||
|
|
||||||
esac
|
esac
|
||||||
|
|
||||||
@@ -1402,10 +1405,21 @@ else
|
@@ -1317,10 +1320,21 @@ else
|
||||||
;;
|
;;
|
||||||
|
|
||||||
openbsd*)
|
openbsd*)
|
||||||
@ -27,27 +27,31 @@ $OpenBSD: patch-ltconfig,v 1.2 2001/07/22 20:40:06 pvalchev Exp $
|
|||||||
+ *)
|
+ *)
|
||||||
+ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linkopts'
|
+ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linkopts'
|
||||||
+ hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
|
+ hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
|
||||||
+ if [ "`/usr/bin/file /usr/lib/libc.so.* | grep ELF`" != "" ]; then
|
+ if test "`echo __ELF__ | $CC -E - | grep __ELF__`" = "" -o "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
|
||||||
+ export_dynamic_flag_spec='${wl}-E'
|
+ export_dynamic_flag_spec='${wl}-E'
|
||||||
+ fi
|
+ fi
|
||||||
+ ;;
|
+ ;;
|
||||||
+ esac
|
+ esac
|
||||||
;;
|
;;
|
||||||
|
|
||||||
os2*)
|
os2*)
|
||||||
@@ -2021,13 +2035,11 @@ netbsd*)
|
@@ -1857,9 +1871,16 @@ netbsd*)
|
||||||
|
|
||||||
openbsd*)
|
openbsd*)
|
||||||
version_type=sunos
|
version_type=sunos
|
||||||
- if test "$with_gnu_ld" = yes; then
|
- if test "$with_gnu_ld" = yes; then
|
||||||
- need_lib_prefix=no
|
- need_lib_prefix=no
|
||||||
- need_version=no
|
- need_version=no
|
||||||
- fi
|
+ need_lib_prefix=no
|
||||||
+ need_version=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__`" = "" -o "$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'
|
library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
|
||||||
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
|
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
|
||||||
shlibpath_var=LD_LIBRARY_PATH
|
|
||||||
+ deplibs_check_method='pass_all'
|
|
||||||
;;
|
|
||||||
|
|
||||||
os2*)
|
|
||||||
|
Loading…
Reference in New Issue
Block a user