summaryrefslogtreecommitdiff
path: root/package/libaudiofile/patches
diff options
context:
space:
mode:
Diffstat (limited to 'package/libaudiofile/patches')
-rw-r--r--package/libaudiofile/patches/001-audiofile-config-libdirs.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/package/libaudiofile/patches/001-audiofile-config-libdirs.patch b/package/libaudiofile/patches/001-audiofile-config-libdirs.patch
new file mode 100644
index 0000000000..ba92d7d4ef
--- /dev/null
+++ b/package/libaudiofile/patches/001-audiofile-config-libdirs.patch
@@ -0,0 +1,13 @@
+--- libaudiofile-0.2.6/audiofile-config.in.orig 2004-03-06 07:39:23.000000000 +0100
++++ libaudiofile-0.2.6/audiofile-config.in 2005-12-13 14:15:52.000000000 +0100
+@@ -45,7 +45,9 @@
+ echo $includes
+ ;;
+ --libs)
+- libdirs=-L@libdir@
++ if test @libdir@ != /usr/libdir ; then
++ libdirs=-L@libdir@
++ fi
+ echo $libdirs -laudiofile -lm
+ ;;
+ *)