diff --git a/neo/sys/scons/SConscript.core b/neo/sys/scons/SConscript.core index e49b115..ff4693b 100644 --- a/neo/sys/scons/SConscript.core +++ b/neo/sys/scons/SConscript.core @@ -336,7 +336,7 @@ else: sound_env.Append( CPPDEFINES = 'NO_ALSA' ) 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 ): local_env.Append( LIBS = [ 'X11', 'Xext', 'Xxf86vm' ] ) # 'Xxf86dga', local_env.Append( LIBPATH = [ '/usr/X11R6/lib' ] ) diff --git a/neo/sys/scons/SConscript.curl b/neo/sys/scons/SConscript.curl index c36c9c2..3756927 100644 --- a/neo/sys/scons/SConscript.curl +++ b/neo/sys/scons/SConscript.curl @@ -38,8 +38,5 @@ else: g_env.Command( target_name, None, Action( build.Compile ) ) -if platform.architecture()[0] == '64bit': - curl_libs = [ target_name, '/usr/lib32/libz.a' ] -else: - curl_libs = [ target_name, '/usr/lib/libz.a' ] +curl_libs = [ target_name ] Return( 'curl_libs' )