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

View File

@ -2094,13 +2094,18 @@
}, },
}, },
}], }],
[ '(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': {
'configurations': {
'Release': {
'ldflags': [ 'ldflags': [
# Only export necessary symbols from libcef.so. # 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', '-Wl,--version-script=<!(cd <(DEPTH) && pwd -P)/cef/libcef_dll/libcef.lst',
], ],
}, },
},
},
}], }],
], ],
}], }],