From a8f1cf676125f314c99645fb27c707bd678db491 Mon Sep 17 00:00:00 2001 From: Bjoern Thiel Date: Mon, 31 Mar 2014 09:20:39 +0200 Subject: Enable debug build for Python 3 as well --- setup.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/setup.py b/setup.py index 2fdc513b9..5a53de3d7 100644 --- a/setup.py +++ b/setup.py @@ -580,9 +580,10 @@ class pyside_build(_build): cmake_cmd.append("-DPYTHON_LIBRARY=%s" % self.py_library) if self.build_type.lower() == 'debug': cmake_cmd.append("-DPYTHON_DEBUG_LIBRARY=%s" % self.py_library) - if sys.platform == "win32" and self.build_type.lower() == 'debug': - cmake_cmd.append("-DCMAKE_DEBUG_POSTFIX=_d") - + + if sys.platform == 'win32': + cmake_cmd.append("-DCMAKE_DEBUG_POSTFIX=_d") + if extension.lower() == "shiboken": cmake_cmd.append("-DCMAKE_INSTALL_RPATH_USE_LINK_PATH=yes") if sys.version_info[0] > 2: -- cgit v1.2.3