summaryrefslogtreecommitdiff
path: root/openwrt/package/libaudiofile/patches/001-audiofile-config-libdirs.patch
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-12-13 14:57:16 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-12-13 14:57:16 +0000
commit397036b24e16752cc17c87ea99d67f8e8137241a (patch)
treefe6b1f031d9a5b1308b5143f852fb2374beb8301 /openwrt/package/libaudiofile/patches/001-audiofile-config-libdirs.patch
parent6fe9bf278a009d589afe5d8a6cbe8f4b038d2468 (diff)
add libaudiofile package (thanks to Romain Beauxis)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2651 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 0000000000..ba92d7d4ef
--- /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
+ ;;
+ *)