12345678910111213141516171819202122232425262728 |
- $OpenBSD: patch-configure,v 1.3 2007/12/03 20:48:39 landry Exp $
- --- configure.orig Mon Jun 11 12:25:42 2007
- +++ configure Sat Sep 22 11:32:33 2007
- @@ -8668,12 +8668,12 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:
- else
- case $host_os in
- openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
- - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
- + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $compiler_flags'
- hardcode_libdir_flag_spec='-R$libdir'
- ;;
- *)
- 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
- @@ -9371,6 +9371,8 @@ openbsd*)
- 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
- + sys_lib_search_path_spec="/usr/lib"
- + sys_lib_dlsearch_path_spec="/usr/lib $PREFIX/lib"
- if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
- case $host_os in
- openbsd2.[89] | openbsd2.[89].*)
|