a38c0dcf36
git-svn-id: svn://svn.openwrt.org/openwrt/packages@18917 3c298f89-4303-0410-b956-a3cf2f4a3e73
14 lines
407 B
Diff
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)\""
|
|
|