summarylogtreecommitdiffstats
path: root/fix-module-name.patch
diff options
context:
space:
mode:
Diffstat (limited to 'fix-module-name.patch')
-rw-r--r--fix-module-name.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/fix-module-name.patch b/fix-module-name.patch
new file mode 100644
index 00000000000..ed52154adc0
--- /dev/null
+++ b/fix-module-name.patch
@@ -0,0 +1,12 @@
+diff -ru pyside2-git/cmake/Macros/PySideModules.cmake pyside2-git.new/cmake/Macros/PySideModules.cmake
+--- pyside2-git/cmake/Macros/PySideModules.cmake 2017-06-16 22:33:54.712099607 +0200
++++ pyside2-git.new/cmake/Macros/PySideModules.cmake 2017-06-16 22:54:42.604343309 +0200
+@@ -101,7 +101,7 @@
+ add_library(${module_name} MODULE ${${module_sources}} ${${module_static_sources}})
+ set_target_properties(${module_name} PROPERTIES
+ PREFIX ""
+- OUTPUT_NAME "${module_name}${PYTHON_EXTENSION_SUFFIX}"
++ OUTPUT_NAME "${module_name}"
+ LIBRARY_OUTPUT_DIRECTORY ${pyside2_BINARY_DIR})
+ if(WIN32)
+ set_target_properties(${module_name} PROPERTIES SUFFIX ".pyd")