summaryrefslogtreecommitdiff
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:30:25 -0400
commitb1cec5003b73080a8aa7ea277621bf1c71c3e8d6 (patch)
tree011819413511c524dea302edb8ab54349f79b23d /Makefile
parent246ea72843d5b7e9d4cd902dc5e9d71359196303 (diff)
build system: use pkg-config to look up selinux libs1_20_stable
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 fccde4a6a..3a0a5e110 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