need this too.

This commit is contained in:
brad 2002-12-14 23:57:37 +00:00
parent d320bc2c54
commit b14ce80e80

View File

@ -0,0 +1,21 @@
$OpenBSD: patch-aclocal_m4,v 1.1 2002/12/14 23:57:37 brad Exp $
--- aclocal.m4.orig Fri Dec 13 22:46:25 2002
+++ aclocal.m4 Fri Dec 13 22:48:38 2002
@@ -3311,7 +3311,7 @@ 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 $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
@@ -3321,7 +3321,7 @@ else
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