| Index: third_party/instrumented_libraries/instrumented_libraries.gyp
|
| diff --git a/third_party/instrumented_libraries/instrumented_libraries.gyp b/third_party/instrumented_libraries/instrumented_libraries.gyp
|
| index 420516848e64395cc5f2a23172925cbd7c25744c..1458b0fe9adec348fa01fa62ba625bf2f578f5a9 100644
|
| --- a/third_party/instrumented_libraries/instrumented_libraries.gyp
|
| +++ b/third_party/instrumented_libraries/instrumented_libraries.gyp
|
| @@ -116,6 +116,17 @@
|
| ],
|
| },
|
| ],
|
| + 'direct_dependent_settings': {
|
| + 'target_conditions': [
|
| + ['_toolset=="target"', {
|
| + 'ldflags': [
|
| + # Add RPATH to result binary to make it linking instrumented libraries ($ORIGIN means relative RPATH)
|
| + '-Wl,-R,\$$ORIGIN/instrumented_libraries/<(_sanitizer_type)/lib/:\$$ORIGIN/instrumented_libraries/<(_sanitizer_type)/usr/lib/x86_64-linux-gnu/',
|
| + '-Wl,-z,origin',
|
| + ],
|
| + }],
|
| + ],
|
| + },
|
| },
|
| {
|
| 'library_name': 'freetype',
|
|
|