gyp: solink line
authorEvan Martin <martine@danga.com>
Wed, 1 Dec 2010 00:32:28 +0000 (16:32 -0800)
committerEvan Martin <martine@danga.com>
Wed, 1 Dec 2010 00:32:28 +0000 (16:32 -0800)
gyp.patch

index 28aa028..1c955cc 100644 (file)
--- a/gyp.patch
+++ b/gyp.patch
@@ -2,7 +2,7 @@ Index: pylib/gyp/generator/ninja.py
 ===================================================================
 --- pylib/gyp/generator/ninja.py       (revision 0)
 +++ pylib/gyp/generator/ninja.py       (revision 0)
-@@ -0,0 +1,463 @@
+@@ -0,0 +1,465 @@
 +#!/usr/bin/python
 +
 +# Copyright (c) 2010 Google Inc. All rights reserved.
@@ -61,7 +61,9 @@ Index: pylib/gyp/generator/ninja.py
 +
 +rule solink
 +  description = LINK $out
-+  command = false
++  command = g++ -shared $ldflags -o $out \\
++            -Wl,--start-group $in -Wl,--end-group $libs
++# XXX soname -Wl,-soname=$(@F) -Wl,--start-group $in -Wl,--end-group $libs
 +
 +rule link
 +  description = LINK $out