From: José Fonseca Date: Wed, 14 Jan 2009 11:36:02 +0000 (+0000) Subject: scons: Use .a suffix for MinGW. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=83155aa11f1b12982ba501a495d8ccb15dc9b92e;p=mesa.git scons: Use .a suffix for MinGW. This allows to build MinGW and MSVC within the same dir. --- diff --git a/scons/crossmingw.py b/scons/crossmingw.py index cf4887ba464..b1141c97ce8 100644 --- a/scons/crossmingw.py +++ b/scons/crossmingw.py @@ -162,18 +162,16 @@ def generate(env): # Some setting from the platform also have to be overridden: env['OBJPREFIX'] = '' env['OBJSUFFIX'] = '.o' - env['LIBPREFIX'] = 'lib' - env['LIBSUFFIX'] = '.a' env['SHOBJPREFIX'] = '$OBJPREFIX' env['SHOBJSUFFIX'] = '$OBJSUFFIX' env['PROGPREFIX'] = '' env['PROGSUFFIX'] = '.exe' - env['LIBPREFIX'] = '' - env['LIBSUFFIX'] = '.lib' + env['LIBPREFIX'] = 'lib' + env['LIBSUFFIX'] = '.a' env['SHLIBPREFIX'] = '' env['SHLIBSUFFIX'] = '.dll' - env['LIBPREFIXES'] = [ '$LIBPREFIX' ] - env['LIBSUFFIXES'] = [ '$LIBSUFFIX' ] + env['LIBPREFIXES'] = [ 'lib', '' ] + env['LIBSUFFIXES'] = [ '.a', '.lib' ] env.AppendUnique(LIBS = ['iberty']) env.AppendUnique(LINKFLAGS = ['-Wl,--enable-stdcall-fixup'])