From: Johannes Berg Date: Sat, 13 Dec 2008 00:09:03 +0000 (+0100) Subject: evaluate pkg-config only once X-Git-Tag: v0.9.8~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=98be89720ba8c09a9c8221e24499d0c18bb626e8;p=thirdparty%2Fiw.git evaluate pkg-config only once --- diff --git a/Makefile b/Makefile index e9473c8..9ff0c0d 100644 --- a/Makefile +++ b/Makefile @@ -29,8 +29,8 @@ LIBS += -lnl-genl NLLIBNAME = libnl-2.0 endif -LIBS += `pkg-config --libs $(NLLIBNAME)` -CFLAGS += `pkg-config --cflags $(NLLIBNAME)` +LIBS += $(shell pkg-config --libs $(NLLIBNAME)) +CFLAGS += $(shell pkg-config --cflags $(NLLIBNAME)) ifeq ($(V),1) Q=