summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarren Hart <dvhart@linux.intel.com>2015-08-27 19:19:48 -0500
committerJohn Kacur <jkacur@redhat.com>2015-09-02 14:52:46 +0200
commitd9f3e351d3a91e2712ba257ff02557525b979488 (patch)
tree43b2d6ed92a1261997909a5d8980140f0353d516
parenta837ba68069f8de803b7815c500e5875d8e5318f (diff)
downloadrt-tests-d9f3e351d3a91e2712ba257ff02557525b979488.tar.gz
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 <dvhart@linux.intel.com> CC: Clark Williams <williams@redhat.com> CC: John Kacur <jkacur@redhat.com> Signed-off-by: Josh Cartwright <joshc@ni.com> Signed-off-by: John Kacur <jkacur@redhat.com>
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
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