ChrisPei / gyp

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

xcode_emulation doesn't pass stdlib= to ld #425

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When CLANG_CXX_LIBRARY is set, GetCflagsCC() adds -stdlib= to the compiler 
flags, but not to the linker flags, which inevitably causes unresolved symbol 
errors at link time.

Need to patch GetLdflags() to also pass -stdlib=.

Original issue reported on code.google.com by jfroy@chromium.org on 7 May 2014 at 6:19

GoogleCodeExporter commented 9 years ago

Original comment by sdefresne@chromium.org on 19 May 2014 at 5:35

GoogleCodeExporter commented 9 years ago
I don't remember if buildbot works for gyp, so adding the reference manually:
https://codereview.chromium.org/284223008/

Original comment by sdefresne@chromium.org on 19 May 2014 at 6:03