cminkoff / gyp

Automatically exported from code.google.com/p/gyp
0 stars 0 forks source link

AR_target override broken with make backend. #320

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Probably needs something like this (untested):
===================================================================
--- make.py     (revision 1519)
+++ make.py     (working copy)
@@ -267,7 +267,7 @@
 CXXFLAGS.target ?= $(CXXFLAGS)
 LINK.target ?= %(LINK.target)s
 LDFLAGS.target ?= $(LDFLAGS)
-AR.target ?= $(AR)
+AR.target ?= %(AR.target)s

 # TODO(evan): move all cross-compilation logic to gyp-time so we don't need
 # to replicate this environment fallback in make as well.

Original issue reported on code.google.com by morlov...@google.com on 12 Feb 2013 at 6:34

GoogleCodeExporter commented 9 years ago
I've encountered the same issue and came up with the same solution. It is now 
successfully used in our building environment. See the patch it's the same as 
the proposal. I'd be happy if this is fixed, otherwise I've to keep my own 
fork. Cheers.

Original comment by technogr...@gmail.com on 30 May 2014 at 7:16

Attachments: