feafd20e82
commiting now to not stall other work, possible breakage will be dealt with thisweek "commit!" aja@
25 lines
1.2 KiB
Plaintext
25 lines
1.2 KiB
Plaintext
$OpenBSD: patch-libdb_dist_configure,v 1.4 2009/10/11 12:42:41 jasper Exp $
|
|
--- libdb/dist/configure.orig Sat Oct 10 18:42:53 2009
|
|
+++ libdb/dist/configure Sat Oct 10 19:10:35 2009
|
|
@@ -7768,17 +7768,17 @@ _ACEOF
|
|
hardcode_direct=yes
|
|
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 $linker_flags'
|
|
+ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
|
|
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
|
|
export_dynamic_flag_spec='${wl}-E'
|
|
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 $linker_flags'
|
|
+ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
|
|
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
|
|
;;
|
|
esac
|