diff options
author | Michael Andres <ma@suse.de> | 2009-12-01 14:29:36 +0100 |
---|---|---|
committer | Michael Andres <ma@suse.de> | 2009-12-01 14:29:36 +0100 |
commit | 123855d8274989f45c3a96949643f50ca67f4add (patch) | |
tree | b63987657b76ed2c94f804bf5d22f13c7a880ca9 /swig/python | |
parent | 7dd2abb38483dd0058538a272e3f242a1d2db45d (diff) | |
download | libzypp-bindings-123855d8274989f45c3a96949643f50ca67f4add.tar.gz libzypp-bindings-123855d8274989f45c3a96949643f50ca67f4add.tar.bz2 libzypp-bindings-123855d8274989f45c3a96949643f50ca67f4add.zip |
fix lib intall path on x86_64
Diffstat (limited to 'swig/python')
-rw-r--r-- | swig/python/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/swig/python/CMakeLists.txt b/swig/python/CMakeLists.txt index 864c0cb..88b02ff 100644 --- a/swig/python/CMakeLists.txt +++ b/swig/python/CMakeLists.txt @@ -15,7 +15,7 @@ ADD_SUBDIRECTORY(tests) SET( SWIG_OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/satsolver_python.cc" ) FIND_PACKAGE(PythonInterp REQUIRED) -EXECUTE_PROCESS(COMMAND ${PYTHON_EXECUTABLE} -c "from sys import stdout; from distutils import sysconfig; stdout.write(sysconfig.get_python_lib())" OUTPUT_VARIABLE PYTHON_LIB_PATH) +EXECUTE_PROCESS(COMMAND ${PYTHON_EXECUTABLE} -c "from sys import stdout; from distutils import sysconfig; stdout.write(sysconfig.get_python_lib(1))" OUTPUT_VARIABLE PYTHON_LIB_PATH) MESSAGE(STATUS "Python executable: ${PYTHON_EXECUTABLE}") MESSAGE(STATUS "Python lib path: ${PYTHON_LIB_PATH}") |