Bug 1055591 - Don't add lib prefix in config/external/ffi/moz.build for mingw. r=glandium
authorJacek Caban <jacek@codeweavers.com>
Tue, 26 Aug 2014 13:50:14 +0200
changeset 201558 11d25eb45c01976f337a6d0a17897b500a5a8aa8
parent 201557 b10a78245d320c3ccc3cdf8856067cc0babc5c8e
child 201559 2e3703f9be76fd55a354c1108ebaf1d8e2b76611
push id48211
push userjacek@codeweavers.com
push dateTue, 26 Aug 2014 11:52:22 +0000
treeherdermozilla-inbound@f1b290e959ff [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersglandium
bugs1055591
milestone34.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1055591 - Don't add lib prefix in config/external/ffi/moz.build for mingw. r=glandium
config/external/ffi/moz.build
--- a/config/external/ffi/moz.build
+++ b/config/external/ffi/moz.build
@@ -4,15 +4,15 @@
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
 LIBRARY_NAME = 'ffi'
 
 if CONFIG['MOZ_NATIVE_FFI']:
     OS_LIBS += CONFIG['MOZ_FFI_LIBS']
 else:
-    if CONFIG['OS_ARCH'] == 'WINNT':
+    if CONFIG['_MSC_VER']:
         prefix = 'lib'
     else:
         prefix = ''
     USE_LIBS += [
         'static:/js/src/ctypes/libffi/.libs/%sffi' % prefix,
     ]