mirror of
https://github.com/TTimo/doom3.gpl.git
synced 2026-03-19 16:39:24 +01:00
Just use -lz instead of providing path to libz.a
This is cleaner and more portable.
This commit is contained in:
@@ -336,7 +336,7 @@ else:
|
|||||||
sound_env.Append( CPPDEFINES = 'NO_ALSA' )
|
sound_env.Append( CPPDEFINES = 'NO_ALSA' )
|
||||||
sound_lib = sound_env.StaticLibrary( 'sound', sound_list )
|
sound_lib = sound_env.StaticLibrary( 'sound', sound_list )
|
||||||
|
|
||||||
local_env.Append( LIBS = [ 'pthread', 'dl' ] )
|
local_env.Append( LIBS = [ 'pthread', 'dl', 'z' ] )
|
||||||
if ( local_dedicated == 0 ):
|
if ( local_dedicated == 0 ):
|
||||||
local_env.Append( LIBS = [ 'X11', 'Xext', 'Xxf86vm' ] ) # 'Xxf86dga',
|
local_env.Append( LIBS = [ 'X11', 'Xext', 'Xxf86vm' ] ) # 'Xxf86dga',
|
||||||
local_env.Append( LIBPATH = [ '/usr/X11R6/lib' ] )
|
local_env.Append( LIBPATH = [ '/usr/X11R6/lib' ] )
|
||||||
|
|||||||
@@ -38,8 +38,5 @@ else:
|
|||||||
|
|
||||||
g_env.Command( target_name, None, Action( build.Compile ) )
|
g_env.Command( target_name, None, Action( build.Compile ) )
|
||||||
|
|
||||||
if platform.architecture()[0] == '64bit':
|
curl_libs = [ target_name ]
|
||||||
curl_libs = [ target_name, '/usr/lib32/libz.a' ]
|
|
||||||
else:
|
|
||||||
curl_libs = [ target_name, '/usr/lib/libz.a' ]
|
|
||||||
Return( 'curl_libs' )
|
Return( 'curl_libs' )
|
||||||
|
|||||||
Reference in New Issue
Block a user