packages/sound/mpdas/patches/001-flags.patch

14 lines
407 B
Diff
Raw Normal View History

--- 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)\""