diff options
author | Josh Blum | 2011-08-02 12:42:45 -0700 |
---|---|---|
committer | Josh Blum | 2011-08-02 12:43:20 -0700 |
commit | 3af9fe4ed6a3ab26dac03cf8843ecd9a72ccdec5 (patch) | |
tree | f9fadb994d27c5d778afc1f72aaa239bac872225 /cmake/Modules/GrPython.cmake | |
parent | 609a0cbd99a04824e4e3ad9ca558102146bb9011 (diff) | |
download | gnuradio-3af9fe4ed6a3ab26dac03cf8843ecd9a72ccdec5.tar.gz gnuradio-3af9fe4ed6a3ab26dac03cf8843ecd9a72ccdec5.tar.bz2 gnuradio-3af9fe4ed6a3ab26dac03cf8843ecd9a72ccdec5.zip |
cmake: set plat_specific when determining GR_PYTHON_DIR, this makes it use lib64 on rh64 machines
Diffstat (limited to 'cmake/Modules/GrPython.cmake')
-rw-r--r-- | cmake/Modules/GrPython.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/Modules/GrPython.cmake b/cmake/Modules/GrPython.cmake index 676a98c41..8cffd7a01 100644 --- a/cmake/Modules/GrPython.cmake +++ b/cmake/Modules/GrPython.cmake @@ -89,7 +89,7 @@ ENDMACRO(GR_PYTHON_CHECK_MODULE) ######################################################################## EXECUTE_PROCESS(COMMAND ${PYTHON_EXECUTABLE} -c " from distutils import sysconfig -print sysconfig.get_python_lib(prefix='') +print sysconfig.get_python_lib(plat_specific=True, prefix='') " OUTPUT_VARIABLE GR_PYTHON_DIR OUTPUT_STRIP_TRAILING_WHITESPACE ) FILE(TO_CMAKE_PATH ${GR_PYTHON_DIR} GR_PYTHON_DIR) |