From d9f3e351d3a91e2712ba257ff02557525b979488 Mon Sep 17 00:00:00 2001 From: Darren Hart Date: Thu, 27 Aug 2015 19:19:48 -0500 Subject: rt-tests: Allow for user-specified PYLIB Allow users (build systems) to specify PYLIB. This allows for a cross-build-system to specify the target PYLIB rather than the host PYLIB. Signed-off-by: Darren Hart CC: Clark Williams CC: John Kacur Signed-off-by: Josh Cartwright Signed-off-by: John Kacur --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index f3534b3..0dd3c56 100644 --- a/Makefile +++ b/Makefile @@ -34,7 +34,7 @@ ifdef HAVE_PARSE_CPUSTRING_ALL endif endif -PYLIB := $(shell python -c 'import distutils.sysconfig; print distutils.sysconfig.get_python_lib()') +PYLIB ?= $(shell python -c 'import distutils.sysconfig; print distutils.sysconfig.get_python_lib()') ifndef DEBUG CFLAGS += -O2 -- cgit 1.2.3-korg