aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Marvin Schmidt <marv@exherbo.org> 2018-07-02 11:33:48 +0200
committerAvatar Marvin Schmidt <marv@exherbo.org> 2019-10-22 20:07:37 +0200
commit91c51f988c45d9bfc58a74860c8081d92eac9e02 (patch)
treeebe4a8e422c8d5247f75cc81f46e885c20053d91
parentcf66061de26866b249b400602a04d83cdca77a0b (diff)
downloadpaludis-91c51f988c45d9bfc58a74860c8081d92eac9e02.tar.gz
paludis-91c51f988c45d9bfc58a74860c8081d92eac9e02.tar.xz
build: Make python invocation compatible with Python 3
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index af489dfcf..0f9998132 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -311,7 +311,7 @@ if(ENABLE_PYTHON)
message(SEND_ERROR "python is required for python support")
endif()
execute_process(COMMAND
- "${PYTHON_EXECUTABLE}" -c "from distutils import sysconfig; print sysconfig.get_python_lib(1)"
+ "${PYTHON_EXECUTABLE}" -c "from distutils import sysconfig; print(sysconfig.get_python_lib(1))"
OUTPUT_VARIABLE
PALUDIS_PYEXECDIR
ERROR_QUIET