Index: make_gyp_wrapper.py |
diff --git a/make_gyp_wrapper.py b/make_gyp_wrapper.py |
index 1bf2761bfdc18be29950f44f26e971fe359df9b5..1df837a4eaf4ec46ff44c476811a3a8ff7376085 100644 |
--- a/make_gyp_wrapper.py |
+++ b/make_gyp_wrapper.py |
@@ -118,5 +118,12 @@ def overridden_WriteAndroidNdkModuleRule(self, module_name, all_sources, link_de |
MakefileWriter.Write = overridden_Write |
MakefileWriter.WriteAndroidNdkModuleRule = overridden_WriteAndroidNdkModuleRule |
+# Issue 5393 |
+# replace $(LD_INPUTS) by "-Wl,--start-group $(LD_INPUTS) -Wl,--end-group" but only for cmd_link_host |
sergei
2017/08/09 12:53:41
It concerns the following line:
https://github.com
|
+gyp.generator.make.LINK_COMMANDS_ANDROID = \ |
+ gyp.generator.make.LINK_COMMANDS_ANDROID[:663] + \ |
+ "-Wl,--start-group $(LD_INPUTS) -Wl,--end-group" + \ |
+ gyp.generator.make.LINK_COMMANDS_ANDROID[675:] |
+ |
if __name__ == '__main__': |
gyp.main(sys.argv[1:]) |