bcef62518c
when buildlink strips out $RPATH_FLAG on Darwin
16 lines
506 B
Text
16 lines
506 B
Text
$NetBSD: patch-ac,v 1.3 2003/11/10 01:14:43 danw Exp $
|
|
|
|
--- esd-config.in.orig Fri Feb 5 23:34:19 1999
|
|
+++ esd-config.in
|
|
@@ -54,9 +54,9 @@
|
|
;;
|
|
--libs)
|
|
my_audiofile_libs=
|
|
- libdirs=-L@libdir@
|
|
+ libdirs="-L@libdir@ -Wl,-R@libdir@"
|
|
for i in $audiofile_libs ; do
|
|
- if test $i != -L@libdir@ ; then
|
|
+ if test $i != -L@libdir@ -a "$i" != "-Wl,-R@libdir@"; then
|
|
if test -z "$my_audiofile_libs" ; then
|
|
my_audiofile_libs="$i"
|
|
else
|