Commit caf8875b authored by Aaro Koskinen's avatar Aaro Koskinen Committed by Stephen Hemminger

misc/Makefile: use PKG_CONFIG

Use PKG_CONFIG from Config - it works better when cross-compiling.
Signed-off-by: default avatarAaro Koskinen <aaro.koskinen@nokia.com>
parent 115b4d88
......@@ -10,8 +10,8 @@ ifeq ($(HAVE_BERKELEY_DB),y)
endif
ifeq ($(HAVE_SELINUX),y)
LDLIBS += $(shell pkg-config --libs libselinux)
CFLAGS += $(shell pkg-config --cflags libselinux) -DHAVE_SELINUX
LDLIBS += $(shell $(PKG_CONFIG) --libs libselinux)
CFLAGS += $(shell $(PKG_CONFIG) --cflags libselinux) -DHAVE_SELINUX
endif
ifeq ($(IP_CONFIG_SETNS),y)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment