aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-10-20 15:01:26 -0400
committerMike Frysinger <vapier@gentoo.org>2012-10-20 15:01:26 -0400
commit5694afd72a0a424fcdd2ac85838229a1a86b7e84 (patch)
tree3b27a52db41b6774102953038d1cc809244d66f3 /Makefile
parent67dc7b21cae44627d0ee55aedb90e421f58ac9c9 (diff)
downloadbusybox-5694afd72a0a424fcdd2ac85838229a1a86b7e84.tar.gz
build system: use pkg-config to look up selinux libs
Newer versions of libselinux has started linking against more libs. Rather than continuing hardcoding things, switch to using pkg-config to query for its dependencies. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index b2e94775c..8995ff506 100644
--- a/Makefile
+++ b/Makefile
@@ -297,6 +297,7 @@ NM = $(CROSS_COMPILE)nm
STRIP = $(CROSS_COMPILE)strip
OBJCOPY = $(CROSS_COMPILE)objcopy
OBJDUMP = $(CROSS_COMPILE)objdump
+PKG_CONFIG ?= $(CROSS_COMPILE)pkg-config
AWK = awk
GENKSYMS = scripts/genksyms/genksyms
DEPMOD = /sbin/depmod