mirror of
https://github.com/TTimo/GtkRadiant.git
synced 2025-01-10 03:51:18 +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/
|
||||
|
||||
import os
|
||||
import platform
|
||||
|
||||
Import( [ 'utils', 'config', 'settings', 'lib_objects' ] )
|
||||
|
||||
env = Environment( ENV = os.environ )
|
||||
settings.SetupEnvironment( env, config[ 'name' ], useGtk = True, useGtkGL = True )
|
||||
env.Append( LIBS = [ 'dl' ] )
|
||||
|
||||
if ( platform.system() != 'FreeBSD' ):
|
||||
env.Append( LIBS = [ 'dl' ] )
|
||||
|
||||
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() ] )
|
||||
|
|
Loading…
Reference in a new issue