fix(windows installer): change path to search library
This commit is contained in:
parent
acc23b8972
commit
72aaf6d8fb
@ -86,7 +86,11 @@ for f in google_breakpad_header_files:
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
google_breakpad_library_dir_base = 'client/windows'
|
google_breakpad_library_dir_base = [
|
||||||
|
'client/windows',
|
||||||
|
'client/windows/crash_generation',
|
||||||
|
'client/windows/handler'
|
||||||
|
]
|
||||||
google_breakpad_library_dir_end = 'lib'
|
google_breakpad_library_dir_end = 'lib'
|
||||||
google_breakpad_library_files = [
|
google_breakpad_library_files = [
|
||||||
'crash_generation_client.lib',
|
'crash_generation_client.lib',
|
||||||
@ -101,13 +105,13 @@ build_type = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
# copy libraries
|
# copy libraries
|
||||||
for bt in build_type:
|
for dir in google_breakpad_library_dir_base:
|
||||||
for f in google_breakpad_library_files:
|
for buildType in build_type:
|
||||||
bt_lib_dir = os.path.join(google_breakpad_library_dir_base, bt)
|
for file in google_breakpad_library_files:
|
||||||
if os.path.exists(bt_lib_dir):
|
path = os.path.join(dir, buildType, 'lib', file)
|
||||||
file = os.path.join(bt_lib_dir, 'lib', f)
|
src, dst = convertSrcAndDst(path, os.path.basename(path), os.path.join('lib', buildType))
|
||||||
src, dst = convertSrcAndDst(file, os.path.basename(file), os.path.join('lib', bt))
|
if os.path.exists(src):
|
||||||
copyFile(src, dst)
|
copyFile(src, dst)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user