summaryrefslogtreecommitdiff
path: root/package/libaudiofile/patches/001-audiofile-config-libdirs.patch
blob: ef3ea3c0f7734f9a9fdf55e8a6e9e823feed790a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- libaudiofile-0.2.6.orig/audiofile-config.in	2004-03-06 07:39:23.000000000 +0100
+++ libaudiofile-0.2.6/audiofile-config.in	2011-01-14 22:38:44.000000000 +0100
@@ -45,7 +45,9 @@ while test $# -gt 0; do
       echo $includes
       ;;
     --libs)
-      libdirs=-L@libdir@
+      if test @libdir@ != /usr/libdir ; then
+        libdirs=-L@libdir@
+      fi
       echo $libdirs -laudiofile -lm
       ;;
     *)