7d3158b20d
-- Check the changes at http://cvs.ossp.org/pkg/lib/mm/ChangeLog ok brad@
26 lines
1.1 KiB
Plaintext
26 lines
1.1 KiB
Plaintext
$OpenBSD: patch-configure,v 1.2 2003/04/29 02:03:53 margarida Exp $
|
|
--- configure.orig Tue Apr 29 01:34:25 2003
|
|
+++ configure Tue Apr 29 01:40:05 2003
|
|
@@ -5525,8 +5525,8 @@ else
|
|
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 $compiler_flags'
|
|
- hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
|
|
+ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags'
|
|
+ hardcode_libdir_flag_spec='${wl}-R$libdir'
|
|
export_dynamic_flag_spec='${wl}-E'
|
|
else
|
|
case "$host_os" in
|
|
@@ -5535,8 +5535,8 @@ else
|
|
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'
|
|
+ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags'
|
|
+ hardcode_libdir_flag_spec='${wl}-R$libdir'
|
|
;;
|
|
esac
|
|
fi
|