forked from qt-creator/qt-creator
Cdbext: Fix build when not passing drive letters to CMake
Pass native path to Python DLL to dumpbin, because otherwise if the path doesn't contain a drive letter but starts with a / it gets confused with a command line option. Change-Id: I5ba58db0075c3463991aab973f377e7f30637400 Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -172,8 +172,9 @@ if (_library_enabled)
|
||||
return()
|
||||
endif()
|
||||
|
||||
file(TO_NATIVE_PATH ${PythonDll} NativePythonDll)
|
||||
execute_process(
|
||||
COMMAND ${dumpbin_executable} /exports ${PythonDll}
|
||||
COMMAND ${dumpbin_executable} /exports ${NativePythonDll}
|
||||
OUTPUT_VARIABLE dumpbin_output
|
||||
RESULT_VARIABLE dumpbin_result)
|
||||
|
||||
|
Reference in New Issue
Block a user