summaryrefslogtreecommitdiff
path: root/package/libaudiofile/patches/patch-audiofile-config_in
diff options
context:
space:
mode:
Diffstat (limited to 'package/libaudiofile/patches/patch-audiofile-config_in')
-rw-r--r--package/libaudiofile/patches/patch-audiofile-config_in13
1 files changed, 13 insertions, 0 deletions
diff --git a/package/libaudiofile/patches/patch-audiofile-config_in b/package/libaudiofile/patches/patch-audiofile-config_in
new file mode 100644
index 000000000..fe1acc715
--- /dev/null
+++ b/package/libaudiofile/patches/patch-audiofile-config_in
@@ -0,0 +1,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
+ ;;
+ *)