25 lines
1.2 KiB
Plaintext
25 lines
1.2 KiB
Plaintext
|
$OpenBSD: patch-libxmms_aclocal_m4,v 1.1 2004/04/15 19:23:46 naddy Exp $
|
||
|
--- libxmms/aclocal.m4.orig 2004-02-23 22:45:13.000000000 +0100
|
||
|
+++ libxmms/aclocal.m4 2004-04-14 23:36:48.000000000 +0200
|
||
|
@@ -1669,17 +1669,17 @@ 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
|
||
|
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
|