summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--deps/gyp/pylib/gyp/generator/make.py2
-rw-r--r--linux/mapboxgl-app.gyp2
2 files changed, 1 insertions, 3 deletions
diff --git a/deps/gyp/pylib/gyp/generator/make.py b/deps/gyp/pylib/gyp/generator/make.py
index 0b515bccd3..7a8adb5850 100644
--- a/deps/gyp/pylib/gyp/generator/make.py
+++ b/deps/gyp/pylib/gyp/generator/make.py
@@ -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
diff --git a/linux/mapboxgl-app.gyp b/linux/mapboxgl-app.gyp
index b8062829a1..027612cbd4 100644
--- a/linux/mapboxgl-app.gyp
+++ b/linux/mapboxgl-app.gyp
@@ -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)',