summaryrefslogtreecommitdiff
path: root/audio/esound/patches/patch-ac
blob: def45de84d87095f905c2d0f5f05cc3bf3b207ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-ac,v 1.2 2002/04/29 08:40:28 wiz 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