summaryrefslogtreecommitdiff
path: root/binding.gyp
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2016-05-03 16:56:51 -0700
committerJohn Firebaugh <john.firebaugh@gmail.com>2016-05-03 16:59:04 -0700
commit01b3eac52f810b61dc2d5f0ea7a2bfa229daa01f (patch)
treeecf23b7c35f84b0f646da67fec3ea8f55f0c7d79 /binding.gyp
parente8e709d96d6034afcb149b269b9208ea12fb3308 (diff)
downloadqtlocation-mapboxgl-01b3eac52f810b61dc2d5f0ea7a2bfa229daa01f.tar.gz
[build] '<@(foo_static_libs)' must precede '<@(foo_ldflags)'
'<@(foo_ldflags)' typically includes -lbar arguments that the static libs depend on, and order matters for ld. The build was previously working merely by lucky ordering.
Diffstat (limited to 'binding.gyp')
-rw-r--r--binding.gyp8
1 files changed, 4 insertions, 4 deletions
diff --git a/binding.gyp b/binding.gyp
index a0fe62c8db..3e7f9a452a 100644
--- a/binding.gyp
+++ b/binding.gyp
@@ -67,14 +67,14 @@
'link_settings': {
'libraries': [
- '<@(nunicode_ldflags)',
'<@(nunicode_static_libs)',
- '<@(webp_ldflags)',
+ '<@(nunicode_ldflags)',
'<@(webp_static_libs)',
- '<@(libpng_ldflags)',
+ '<@(webp_ldflags)',
'<@(libpng_static_libs)',
- '<@(libjpeg-turbo_ldflags)',
+ '<@(libpng_ldflags)',
'<@(libjpeg-turbo_static_libs)',
+ '<@(libjpeg-turbo_ldflags)',
],
},
}]