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:
parent
79dfb2d2f3
commit
f96485f950
2 changed files with 10 additions and 1 deletions
5
atom.gyp
5
atom.gyp
|
@ -636,7 +636,10 @@
|
||||||
# Gyp action requires a output file, add a fake one here.
|
# Gyp action requires a output file, add a fake one here.
|
||||||
'<(PRODUCT_DIR)/dummy_file',
|
'<(PRODUCT_DIR)/dummy_file',
|
||||||
],
|
],
|
||||||
'action': [ 'strip', '<@(_inputs)' ],
|
'action': [
|
||||||
|
'tools/posix/strip.sh',
|
||||||
|
'<@(_inputs)',
|
||||||
|
],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
}], # OS=="linux"
|
}], # OS=="linux"
|
||||||
|
|
6
tools/posix/strip.sh
Executable file
6
tools/posix/strip.sh
Executable file
|
@ -0,0 +1,6 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Ignore errors from strip.
|
||||||
|
strip "$@"
|
||||||
|
|
||||||
|
exit 0
|
Loading…
Add table
Reference in a new issue