]> git.ipfire.org Git - thirdparty/iw.git/commitdiff
evaluate pkg-config only once
authorJohannes Berg <johannes@sipsolutions.net>
Sat, 13 Dec 2008 00:09:03 +0000 (01:09 +0100)
committerJohannes Berg <johannes@sipsolutions.net>
Sat, 13 Dec 2008 00:09:03 +0000 (01:09 +0100)
Makefile

index e9473c83534f4c0edd4ee85983581f7e3499793a..9ff0c0d31226e7367dc5f0cf44dabff9371439b7 100644 (file)
--- 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=