misc/Makefile: use PKG_CONFIG
Use PKG_CONFIG from Config - it works better when cross-compiling. Signed-off-by: Aaro Koskinen <aaro.koskinen@nokia.com>
This commit is contained in:
parent
115b4d8873
commit
caf8875b3c
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue