summaryrefslogtreecommitdiffstats
path: root/swig
diff options
context:
space:
mode:
authorGravatar Christophe Fergeau2009-10-29 20:14:48 +0100
committerGravatar Jonathan Beck2009-10-29 20:14:48 +0100
commitc8c9cfa77f0c0fdb895dfdbfc177db3c26dcedcc (patch)
treed6f670b72dad6792da1d77ed01a89eae420c0a04 /swig
parentfd0db31b3d1cda4c7ef263a4c9338f42217e8eb2 (diff)
downloadlibplist-c8c9cfa77f0c0fdb895dfdbfc177db3c26dcedcc.tar.gz
libplist-c8c9cfa77f0c0fdb895dfdbfc177db3c26dcedcc.tar.bz2
Install python bindings in the right directory on 64bit machines.
Diffstat (limited to 'swig')
-rw-r--r--swig/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/swig/CMakeLists.txt b/swig/CMakeLists.txt
index 81db20a..e71e6e8 100644
--- a/swig/CMakeLists.txt
+++ b/swig/CMakeLists.txt
@@ -9,7 +9,7 @@ SWIG_ADD_MODULE( PList python plist.i )
SWIG_LINK_LIBRARIES( PList plist plist++ ${PYTHON_LIBRARIES} )
EXEC_PROGRAM("${PYTHON_EXECUTABLE}"
- ARGS "-c 'try:\n import distutils.sysconfig; print distutils.sysconfig.get_python_lib()\nexcept: pass\n'"
+ ARGS "-c 'try:\n import distutils.sysconfig; print distutils.sysconfig.get_python_lib(plat_specific=1)\nexcept: pass\n'"
OUTPUT_VARIABLE DISTUTILS_PYTHON_ILIBRARY_PATH
)