diff options
Diffstat (limited to 'trafgen/Makefile')
-rw-r--r-- | trafgen/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/trafgen/Makefile b/trafgen/Makefile index b37e62d..3cb8497 100644 --- a/trafgen/Makefile +++ b/trafgen/Makefile @@ -1,5 +1,5 @@ -trafgen-libs = $(shell pkg-config --libs libnl-3.0) \ - $(shell pkg-config --libs libnl-genl-3.0) \ +trafgen-libs = $(shell PKG_CONFIG_PATH=$(PKG_CONFIG_PATH) $(PKG_CONFIG) --libs libnl-3.0) \ + $(shell PKG_CONFIG_PATH=$(PKG_CONFIG_PATH) $(PKG_CONFIG) --libs libnl-genl-3.0) \ -lm trafgen-objs = xmalloc.o \ @@ -25,8 +25,8 @@ trafgen-lex = trafgen_lexer.yy.o trafgen-yaac = trafgen_parser.tab.o -trafgen-eflags = $(shell pkg-config --cflags libnl-3.0) \ - $(shell pkg-config --cflags libnl-genl-3.0) \ +trafgen-eflags = $(shell PKG_CONFIG_PATH=$(PKG_CONFIG_PATH) $(PKG_CONFIG) --cflags libnl-3.0) \ + $(shell PKG_CONFIG_PATH=$(PKG_CONFIG_PATH) $(PKG_CONFIG) --cflags libnl-genl-3.0) \ -I.. trafgen-confs = trafgen_stddef.h |