better fix for handling mbgl-linux symbols

This commit is contained in:
Dane Springmeyer
2014-10-29 19:37:42 -04:00
parent ad6d73e6b0
commit b32748b42f
2 changed files with 1 additions and 3 deletions

View File

@@ -141,7 +141,7 @@ cmd_alink_thin = rm -f $@ && $(AR.$(TOOLSET)) crsT $@ $(filter %.o,$^)
# special "figure out circular dependencies" flags around the entire
# input list during linking.
quiet_cmd_link = LINK($(TOOLSET)) $@
cmd_link = $(LINK.$(TOOLSET)) -Wl,--start-group $(GYP_LDFLAGS) $(LDFLAGS.$(TOOLSET)) -o $@ $(LD_INPUTS) $(LIBS) -Wl,--end-group
cmd_link = $(LINK.$(TOOLSET)) -Wl,--start-group $(GYP_LDFLAGS) $(LDFLAGS.$(TOOLSET)) -o $@ $(LD_INPUTS) -Wl,--end-group $(LIBS)
# We support two kinds of shared objects (.so):
# 1) shared_library, which is just bundling together many dependent libraries

View File

@@ -23,8 +23,6 @@
'-I<(boost_root)/include',
],
'libraries': [
'-L<(PRODUCT_DIR)/',
'-lmbgl-linux' # hack: double-linking to workaround lack of start/end group support for /path/to/libmbgl-linux with g++-4.8
'<@(curl_static_libs)',
'<@(png_ldflags)',
'<@(sqlite3_ldflags)',