openbsd-ports/graphics/gdk-pixbuf/patches/patch-aclocal_m4

26 lines
1.1 KiB
Plaintext
Raw Normal View History

$OpenBSD: patch-aclocal_m4,v 1.5 2002/11/14 21:03:41 marcm Exp $
--- aclocal.m4.orig Fri Nov 8 09:43:43 2002
+++ aclocal.m4 Fri Nov 8 09:44:21 2002
@@ -1745,8 +1745,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 $linker_flags'
- hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
+ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
2002-06-02 03:01:47 -04:00
+ hardcode_libdir_flag_spec='${wl}-R$libdir'
export_dynamic_flag_spec='${wl}-E'
else
case "$host_os" in
@@ -1755,8 +1755,8 @@ else
hardcode_libdir_flag_spec='-R$libdir'
;;
*)
- archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags'
- hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
+ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
+ hardcode_libdir_flag_spec='${wl}-R$libdir'
;;
esac
fi