summaryrefslogtreecommitdiff
path: root/openwrt/package/libaudiofile/patches/001-audiofile-config-libdirs.patch
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2005-12-13 14:57:16 +0000
committerNicolas Thill <nico@openwrt.org>2005-12-13 14:57:16 +0000
commitd0b1d1b52ea5be6d125c1946c0a0ca7db9af8ef3 (patch)
tree6e090802cbb6b3d8beb14b6547af92ebd5a5dad8 /openwrt/package/libaudiofile/patches/001-audiofile-config-libdirs.patch
parentf1aa9e55a18fe7a0badb3463f28fee12fb84993b (diff)
downloadmtk-20170518-d0b1d1b52ea5be6d125c1946c0a0ca7db9af8ef3.zip
mtk-20170518-d0b1d1b52ea5be6d125c1946c0a0ca7db9af8ef3.tar.gz
mtk-20170518-d0b1d1b52ea5be6d125c1946c0a0ca7db9af8ef3.tar.bz2
add libaudiofile package (thanks to Romain Beauxis)
SVN-Revision: 2651
Diffstat (limited to 'openwrt/package/libaudiofile/patches/001-audiofile-config-libdirs.patch')
-rw-r--r--openwrt/package/libaudiofile/patches/001-audiofile-config-libdirs.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/openwrt/package/libaudiofile/patches/001-audiofile-config-libdirs.patch b/openwrt/package/libaudiofile/patches/001-audiofile-config-libdirs.patch
new file mode 100644
index 0000000..ba92d7d
--- /dev/null
+++ b/openwrt/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
+ ;;
+ *)