Use PKG_CONFIG from Config - it works better when cross-compiling. Signed-off-by: Aaro Koskinen <aaro.koski...@nokia.com> --- misc/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/misc/Makefile b/misc/Makefile index 389c1b0..f50e740 100644 --- a/misc/Makefile +++ b/misc/Makefile @@ -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) -- 2.1.4 -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html