]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - SConscript.q3map2
Workaround for broken floating windows (XY Window etc. always in front of e.g. surfac...
[xonotic/netradiant.git] / SConscript.q3map2
index e141c723396c4bfea225b25a5737d375a5e21385..82f952b7c8541c6c793936017342454b3702b1a6 100644 (file)
@@ -10,11 +10,10 @@ Import( [ 'utils', 'config', 'settings', 'lib_objects' ] )
 env = Environment()
 settings.SetupEnvironment( env, config['name'] )
 env.Prepend( CPPPATH = [ '#tools/quake3/common' ] )
-env.Append( LIBS = [ 'pthread', 'png', 'jpeg' ] )
+env.Append( LIBS = [ 'm', 'pthread', 'png', 'jpeg' ] )
 proj = utils.vcproj( os.path.join( GetLaunchDir(), 'tools/quake3/q3map2/q3map2.vcproj' ) )
 objects = lib_objects
 objects += [ os.path.join( 'tools/quake3/q3map2', i ) for i in proj.getSourceFiles() ]
-objects.append( 'tools/quake3/common/jpeg.c' )
-q3map2 = env.Program( 'q3map2.bin', objects )
+q3map2 = env.Program( 'q3map2', objects )
 
 Return( 'q3map2' )