Index: build/common.gypi |
diff --git a/build/common.gypi b/build/common.gypi |
index 8ed67967fa8b6f26b621a9c2fe502a5a1c550dfa..e390cbe956a2716c9fd55cfd40f1eedd6db922be 100644 |
--- a/build/common.gypi |
+++ b/build/common.gypi |
@@ -1756,6 +1756,7 @@ |
# be disabled in ~/.gyp/include.gypi on the valgrind builders. |
'variables': { |
'werror%': '-Werror', |
+ 'libraries_for_target%': '', |
}, |
'defines': [ |
'_FILE_OFFSET_BITS=64', |
@@ -1792,6 +1793,9 @@ |
'ldflags': [ |
'-pthread', '-Wl,-z,noexecstack', |
], |
+ 'libraries' : [ |
+ '<(libraries_for_target)', |
+ ], |
'configurations': { |
'Debug_Base': { |
'variables': { |