From 1e0058e82c89391b6cdf34e1da9002ee3d3da60c Mon Sep 17 00:00:00 2001 From: Evan Martin Date: Tue, 30 Nov 2010 16:32:28 -0800 Subject: [PATCH] gyp: solink line --- gyp.patch | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gyp.patch b/gyp.patch index 28aa028..1c955cc 100644 --- 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 -- 2.7.4