diff options
Diffstat (limited to 'mkspecs/features/unix/separate_debug_info.prf')
-rw-r--r-- | mkspecs/features/unix/separate_debug_info.prf | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/mkspecs/features/unix/separate_debug_info.prf b/mkspecs/features/unix/separate_debug_info.prf index 0b34b17c27..9070cf33f0 100644 --- a/mkspecs/features/unix/separate_debug_info.prf +++ b/mkspecs/features/unix/separate_debug_info.prf @@ -72,10 +72,12 @@ have_target:!static:if(darwin|!isEmpty(QMAKE_OBJCOPY)) { debug_info_plist_target.path += $${target.path}/$${debug_info_target_rel}.$$debug_info_suffix/Contents INSTALLS += debug_info_plist_target - debug_script_target.CONFIG += no_check_exist - debug_script_target.files = $${debug_info_target}.$$debug_info_suffix/Contents/Resources/Python/$${TARGET}.py - debug_script_target.path += $${target.path}/$${debug_info_target_rel}.$$debug_info_suffix/Contents/Resources/Python - INSTALLS += debug_script_target + !isEmpty(debug_script.output) { + debug_script_target.CONFIG += no_check_exist + debug_script_target.files = $${debug_script.output} + debug_script_target.path += $${target.path}/$${debug_info_target_rel}.$$debug_info_suffix/Contents/Resources/Python + INSTALLS += debug_script_target + } } debug_info_target.CONFIG += no_check_exist |