summaryrefslogtreecommitdiff
path: root/trafgen/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'trafgen/Makefile')
-rw-r--r--trafgen/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/trafgen/Makefile b/trafgen/Makefile
index 289aa28..b34b98c 100644
--- a/trafgen/Makefile
+++ b/trafgen/Makefile
@@ -1,5 +1,5 @@
-trafgen-libs = -lnl-genl-3 \
- -lnl-3 \
+trafgen-libs = $(shell pkg-config --libs libnl-3.0) \
+ $(shell pkg-config --libs libnl-genl-3.0) \
-lm
trafgen-objs = xmalloc.o \