зеркало из https://github.com/electron/electron.git
linux: Fix error when generating symbols.
Somehow strip would return 1 when a directory is passed, so we have to wrap it in a script to avoid the error.
This commit is contained in:
Родитель
79dfb2d2f3
Коммит
f96485f950
5
atom.gyp
5
atom.gyp
|
@ -636,7 +636,10 @@
|
|||
# Gyp action requires a output file, add a fake one here.
|
||||
'<(PRODUCT_DIR)/dummy_file',
|
||||
],
|
||||
'action': [ 'strip', '<@(_inputs)' ],
|
||||
'action': [
|
||||
'tools/posix/strip.sh',
|
||||
'<@(_inputs)',
|
||||
],
|
||||
},
|
||||
],
|
||||
}], # OS=="linux"
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Ignore errors from strip.
|
||||
strip "$@"
|
||||
|
||||
exit 0
|
Загрузка…
Ссылка в новой задаче