summaryrefslogtreecommitdiff
path: root/package/libaudiofile/patches/patch-audiofile-config_in
blob: fe1acc71533ca2059552c5f1c46c10cebaf77f82 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- audiofile-0.2.7.orig/audiofile-config.in	2010-03-12 09:57:54.000000000 +0100
+++ audiofile-0.2.7/audiofile-config.in	2013-10-27 19:45:25.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
       ;;
     *)