Just use -lz instead of providing path to libz.a

This is cleaner and more portable.
This commit is contained in:
Daniel Gibson
2011-11-24 21:49:54 +01:00
parent 87d583c3ba
commit 3bb47adf16
2 changed files with 2 additions and 5 deletions

View File

@@ -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' )