lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 17 Nov 2015 16:08:00 +0200
From:	Aaro Koskinen <aaro.koskinen@...ia.com>
To:	Stephen Hemminger <shemming@...cade.com>, netdev@...r.kernel.org
Cc:	Aaro Koskinen <aaro.koskinen@...ia.com>
Subject: [iproute PATCH] misc/Makefile: use PKG_CONFIG

Use PKG_CONFIG from Config - it works better when cross-compiling.

Signed-off-by: Aaro Koskinen <aaro.koskinen@...ia.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 majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ