packages/sound/mpdas/patches/001-flags.patch
nico a38c0dcf36 [packages] mpdas: fix mpdas linking against libiconv & libintl
git-svn-id: svn://svn.openwrt.org/openwrt/packages@18917 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-24 06:44:40 +00:00

14 lines
407 B
Diff

--- a/Makefile
+++ b/Makefile
@@ -7,8 +7,8 @@ PREFIX = /usr/local
MANPREFIX = ${PREFIX}/man/man1
CONFIG = $(PREFIX)/etc
-CXXFLAGS += `pkg-config --cflags libmpd libcurl`
-LIBS = `pkg-config --libs libmpd libcurl`
+CXXFLAGS += $(CPPFLAGS) `pkg-config --cflags libmpd libcurl`
+LIBS = $(LDFLAGS) `pkg-config --libs libmpd libcurl`
CXXFLAGS += -DCONFDIR="\"$(CONFIG)\"" -DVERSION="\"$(VERSION)\""