Index: runtime/bin/bin.gypi |
diff --git a/runtime/bin/bin.gypi b/runtime/bin/bin.gypi |
index d09d94f6fb4f7f28a64ee1c364eb2ada49f6cca4..92939b89a8172b1c307ceb6c032affad5af02e3b 100644 |
--- a/runtime/bin/bin.gypi |
+++ b/runtime/bin/bin.gypi |
@@ -165,6 +165,13 @@ |
], |
}, |
}], |
+ ['OS=="android"', { |
+ 'link_settings': { |
+ 'libraries': [ |
+ '-ldl', |
+ ], |
+ }, |
+ }], |
], |
}, |
{ |
@@ -285,14 +292,6 @@ |
'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib' ], |
}, |
}], |
- # Normally, we should not have flags conditional on OS==android, but |
- # here we must because gen_snapshot is compiled for the host during |
- # and Android cross-build, and these flags are not set anywhere else. |
- ['OS=="android"', { |
- 'link_settings': { |
- 'libraries': [ '-ldl', '-lrt' ], |
- }, |
- }] |
], |
}, |
{ |