1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

using pkg-config for all libnl3 flags

This commit is contained in:
Steffen Vogel 2015-12-04 17:35:21 +01:00
parent d49c51c9ef
commit 064af8f4a7

View file

@ -40,10 +40,10 @@ ifndef DISABLE_FILE
endif
# Enable Socket node type when libnl3 is available
ifeq ($(shell pkg-config libnl-3.0; echo $$?),0)
ifeq ($(shell pkg-config libnl-route-3.0; echo $$?),0)
LIB_OBJS += socket.o nl.o tc.o if.o
LIB_CFLAGS += $(shell pkg-config --cflags libnl-3.0)
LIB_LDLIBS += -lnl-3 -lnl-route-3
LIB_CFLAGS += $(shell pkg-config --cflags libnl-route-3.0)
LIB_LDLIBS += $(shell pkg-config --libs libnl-route-3.0)
endif
# Enable GTFPGA support when libpci is available