2005-05-11 07:16:07 -04:00
|
|
|
$OpenBSD: patch-configure,v 1.3 2005/05/11 11:16:07 robert Exp $
|
|
|
|
--- configure.orig Wed Apr 27 23:30:22 2005
|
|
|
|
+++ configure Tue May 10 20:07:37 2005
|
|
|
|
@@ -13207,7 +13207,7 @@ if test -z "$aix_libpath"; then aix_libp
|
2004-05-08 02:43:40 -04:00
|
|
|
hardcode_shlibpath_var=no
|
|
|
|
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
|
|
|
|
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
|
|
|
|
- hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
|
|
|
|
+ hardcode_libdir_flag_spec='${wl}-R$libdir'
|
|
|
|
export_dynamic_flag_spec='${wl}-E'
|
|
|
|
else
|
|
|
|
case $host_os in
|
2005-05-11 07:16:07 -04:00
|
|
|
@@ -13217,7 +13217,7 @@ if test -z "$aix_libpath"; then aix_libp
|
2004-05-08 02:43:40 -04:00
|
|
|
;;
|
|
|
|
*)
|
|
|
|
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
|
|
|
|
- hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
|
|
|
|
+ hardcode_libdir_flag_spec='${wl}-R$libdir'
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
fi
|
2005-05-11 07:16:07 -04:00
|
|
|
@@ -13898,6 +13898,8 @@ openbsd*)
|
2004-05-08 02:43:40 -04:00
|
|
|
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
|
2003-05-02 00:04:31 -04:00
|
|
|
+ sys_lib_search_path_spec="/usr/lib"
|
2004-05-08 02:43:40 -04:00
|
|
|
+ sys_lib_dlsearch_path_spec="/usr/lib $PREFIX/lib"
|
2003-05-02 00:04:31 -04:00
|
|
|
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
|
2004-05-08 02:43:40 -04:00
|
|
|
case $host_os in
|
|
|
|
openbsd2.[89] | openbsd2.[89].*)
|