From 01b3eac52f810b61dc2d5f0ea7a2bfa229daa01f Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Tue, 3 May 2016 16:56:51 -0700 Subject: [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. --- binding.gyp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'binding.gyp') 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)', ], }, }] -- cgit v1.2.1