2007-05-17 10:40:53 -04:00
|
|
|
$OpenBSD: patch-libdb_dist_configure,v 1.3 2007/05/17 14:40:53 jasper Exp $
|
|
|
|
--- libdb/dist/configure.orig Wed Jan 3 11:10:02 2007
|
|
|
|
+++ libdb/dist/configure Sun Apr 22 21:11:41 2007
|
|
|
|
@@ -7768,7 +7768,7 @@ _ACEOF
|
2004-06-25 12:21:32 -04:00
|
|
|
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
|
2007-05-17 10:40:53 -04:00
|
|
|
@@ -7778,7 +7778,7 @@ _ACEOF
|
2004-06-25 12:21:32 -04:00
|
|
|
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
|