macOS: Don't try to install lldb debug script unless the module provides one
Change-Id: Ib22d2fdca6a4819c1b4056e3207940ceebfbe365 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io> Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>bb10
parent
cc27a50ef8
commit
8316131dab
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue