diff options
author | 2017-01-12 14:57:31 +0100 | |
---|---|---|
committer | 2017-01-16 14:20:51 -0800 | |
commit | 6b7306143ca028073f02221fd2dab1946b3d2415 (patch) | |
tree | 697b5450fccf943e740fc6650c944335ef0fc2cd /CMakeLists.txt | |
parent | 6f30780857073bd2bbb76a4548178118e76ae917 (diff) | |
download | paludis-6b7306143ca028073f02221fd2dab1946b3d2415.tar.gz paludis-6b7306143ca028073f02221fd2dab1946b3d2415.tar.xz |
build: Canonicalize PALUDIS_PYEXECDIR
cmake gets confused by Exherbo's symlinks and without this patch
python stuff might get installed to
{IMAGE}/usr/lib/python2.7/site-packages/ causing problems with
python.exlib, which expects to find files in
/usr/$(exhost --target)/lib/python${python_slot}.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index c19d5b3d9..6e75f9ea4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -315,6 +315,7 @@ if(ENABLE_PYTHON) PALUDIS_PYEXECDIR ERROR_QUIET OUTPUT_STRIP_TRAILING_WHITESPACE) + get_filename_component(PALUDIS_PYEXECDIR ${PALUDIS_PYEXECDIR} REALPATH) find_package(PythonLibs) |