| Index: third_party/boringssl/boringssl.gyp
|
| diff --git a/third_party/boringssl/boringssl.gyp b/third_party/boringssl/boringssl.gyp
|
| index 19e3fcb69587710a741a35bdbfc09eb4791f55a7..fa7c5b6705fbc8e907f01d2cc9c453dfd0fb0a17 100644
|
| --- a/third_party/boringssl/boringssl.gyp
|
| +++ b/third_party/boringssl/boringssl.gyp
|
| @@ -9,7 +9,7 @@
|
| 'targets': [
|
| {
|
| 'target_name': 'boringssl',
|
| - 'type': 'static_library',
|
| + 'type': '<(component)',
|
| 'includes': [
|
| 'boringssl.gypi',
|
| ],
|
| @@ -52,6 +52,19 @@
|
| ['target_arch != "arm" and target_arch != "ia32" and target_arch != "x64"', {
|
| 'defines': [ 'OPENSSL_NO_ASM' ],
|
| }],
|
| + ['component == "shared_library"', {
|
| + 'xcode_settings': {
|
| + 'GCC_SYMBOLS_PRIVATE_EXTERN': 'NO', # no -fvisibility=hidden
|
| + },
|
| + 'cflags!': [ '-fvisibility=hidden' ],
|
| + 'conditions': [
|
| + ['os_posix == 1 and OS != "mac"', {
|
| + # Avoid link failures on Linux x86-64.
|
| + # See http://rt.openssl.org/Ticket/Display.html?id=2466&user=guest&pass=guest
|
| + 'ldflags+': [ '-Wl,-Bsymbolic' ],
|
| + }],
|
| + ],
|
| + }],
|
| ],
|
| 'include_dirs': [
|
| 'src/include',
|
|
|