Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:raulgs:gtk2_win
mingw32-python3
0021-Add-3-suffix-to-python-executable.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0021-Add-3-suffix-to-python-executable.patch of Package mingw32-python3
From 7ba4e29ae5dbbd90d4068b75806ebc8cf645a107 Mon Sep 17 00:00:00 2001 From: Ralf Habacker <ralf.habacker@freenet.de> Date: Tue, 25 Oct 2022 12:29:50 +0200 Subject: [PATCH] Add '3' suffix to python executable We are using set_target_properties() here because at least cmake 3.17 generates a broken Makefile otherwise: CMakeBuild/python/CMakeFiles/python.dir/build.make:101: *** missing separator. Stop --- cmake/python/CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cmake/python/CMakeLists.txt b/cmake/python/CMakeLists.txt index 7850be5..fae7e49 100644 --- a/cmake/python/CMakeLists.txt +++ b/cmake/python/CMakeLists.txt @@ -6,10 +6,10 @@ set(PYTHON_SOURCES ) add_executable(python ${PYTHON_SOURCES}) -set_property( - TARGET python - PROPERTY RUNTIME_OUTPUT_DIRECTORY ${BIN_BUILD_DIR} - ) +set_target_properties(python PROPERTIES + RUNTIME_OUTPUT_DIRECTORY ${BIN_BUILD_DIR} + OUTPUT_NAME python3 +) target_compile_definitions(python PRIVATE Py_BUILD_CORE) add_definitions(-DPy_BUILD_CORE) -- 2.35.3
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor