mirror of
https://github.com/TTimo/GtkRadiant.git
synced 2024-11-10 07:11:54 +00:00
scons: do not require libdl on FreeBSD since it's provided by libc
This commit is contained in:
parent
38b0faf0da
commit
1e71b1fc39
1 changed files with 5 additions and 1 deletions
|
@ -4,12 +4,16 @@
|
||||||
# http://scons.org/
|
# http://scons.org/
|
||||||
|
|
||||||
import os
|
import os
|
||||||
|
import platform
|
||||||
|
|
||||||
Import( [ 'utils', 'config', 'settings', 'lib_objects' ] )
|
Import( [ 'utils', 'config', 'settings', 'lib_objects' ] )
|
||||||
|
|
||||||
env = Environment( ENV = os.environ )
|
env = Environment( ENV = os.environ )
|
||||||
settings.SetupEnvironment( env, config[ 'name' ], useGtk = True, useGtkGL = True )
|
settings.SetupEnvironment( env, config[ 'name' ], useGtk = True, useGtkGL = True )
|
||||||
|
|
||||||
|
if ( platform.system() != 'FreeBSD' ):
|
||||||
env.Append( LIBS = [ 'dl' ] )
|
env.Append( LIBS = [ 'dl' ] )
|
||||||
|
|
||||||
proj = utils.vcxproj( os.path.join( GetLaunchDir(), 'radiant/radiant.vcxproj' ) )
|
proj = utils.vcxproj( os.path.join( GetLaunchDir(), 'radiant/radiant.vcxproj' ) )
|
||||||
|
|
||||||
radiant = env.Program( 'radiant.bin', lib_objects + [ os.path.join( 'radiant', i ) for i in proj.getSourceFiles() ] )
|
radiant = env.Program( 'radiant.bin', lib_objects + [ os.path.join( 'radiant', i ) for i in proj.getSourceFiles() ] )
|
||||||
|
|
Loading…
Reference in a new issue