[packages] mpdas: fix mpdas linking against libiconv & libintl
[openwrt/svn-archive/archive.git] / sound / mpdas / patches / 001-flags.patch
1 --- a/Makefile
2 +++ b/Makefile
3 @@ -7,8 +7,8 @@ PREFIX = /usr/local
4 MANPREFIX = ${PREFIX}/man/man1
5 CONFIG = $(PREFIX)/etc
6
7 -CXXFLAGS += `pkg-config --cflags libmpd libcurl`
8 -LIBS = `pkg-config --libs libmpd libcurl`
9 +CXXFLAGS += $(CPPFLAGS) `pkg-config --cflags libmpd libcurl`
10 +LIBS = $(LDFLAGS) `pkg-config --libs libmpd libcurl`
11
12 CXXFLAGS += -DCONFDIR="\"$(CONFIG)\"" -DVERSION="\"$(VERSION)\""
13