Linux: Don't add version script in Debug build (issue #1765)

This commit is contained in:
Marshall Greenblatt 2016-06-14 13:46:49 -04:00
parent daac89badd
commit ee28b94e1e

15
cef.gyp
View File

@ -2094,12 +2094,17 @@
}, },
}, },
}], }],
[ '(OS=="linux" or OS=="freebsd" or OS=="openbsd") and asan==0', { [ '(OS=="linux" or OS=="freebsd" or OS=="openbsd") and asan==0 and use_allocator=="none"', {
'link_settings': { 'link_settings': {
'ldflags': [ 'configurations': {
# Only export necessary symbols from libcef.so. 'Release': {
'-Wl,--version-script=<!(cd <(DEPTH) && pwd -P)/cef/libcef_dll/libcef.lst', 'ldflags': [
], # Only export necessary symbols from libcef.so.
# Don't do this in Debug builds because it causes the resulting application to crash.
'-Wl,--version-script=<!(cd <(DEPTH) && pwd -P)/cef/libcef_dll/libcef.lst',
],
},
},
}, },
}], }],
], ],