summaryrefslogtreecommitdiff
path: root/dev-util/cmake/files/cmake-FindPythonLibs.patch
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2009-03-25 18:37:35 +0100
committerTomas Chvatal <scarabeus@gentoo.org>2009-03-25 18:37:35 +0100
commit7eee93487b4c97bcccc055930ba0ba25c7cbfb74 (patch)
tree9a031421afe3df9cc5ee681fdb3de8fb5ffbe747 /dev-util/cmake/files/cmake-FindPythonLibs.patch
parent20367a5fed78e90313f5d50c688652f7be3381f1 (diff)
downloadkde-7eee93487b4c97bcccc055930ba0ba25c7cbfb74.tar.gz
kde-7eee93487b4c97bcccc055930ba0ba25c7cbfb74.tar.bz2
kde-7eee93487b4c97bcccc055930ba0ba25c7cbfb74.zip
Cmake magic. I compiled with nonbootstraped one whole tree -e world and observe no issues (i week testing)
Diffstat (limited to 'dev-util/cmake/files/cmake-FindPythonLibs.patch')
-rw-r--r--dev-util/cmake/files/cmake-FindPythonLibs.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/dev-util/cmake/files/cmake-FindPythonLibs.patch b/dev-util/cmake/files/cmake-FindPythonLibs.patch
new file mode 100644
index 00000000000..f473cffd9d1
--- /dev/null
+++ b/dev-util/cmake/files/cmake-FindPythonLibs.patch
@@ -0,0 +1,13 @@
+--- Modules/FindPythonLibs.cmake 2008-05-08 11:18:22.000000000 -0400
++++ Modules/FindPythonLibs.cmake 2008-05-08 11:18:40.000000000 -0400
+@@ -27,10 +27,6 @@
+ NAMES python${_CURRENT_VERSION_NO_DOTS} python${_CURRENT_VERSION}
+ PATHS
+ [HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\PythonCore\\${_CURRENT_VERSION}\\InstallPath]/libs
+- PATH_SUFFIXES
+- python${_CURRENT_VERSION}/config
+- # Avoid finding the .dll in the PATH. We want the .lib.
+- NO_SYSTEM_ENVIRONMENT_PATH
+ )
+
+ SET(PYTHON_FRAMEWORK_INCLUDES)