Added -lpthread to sourcemod.logic binary.

This commit is contained in:
David Anderson 2009-08-30 17:26:03 -07:00
parent a439c3be3c
commit 70993256b9

View File

@ -10,6 +10,9 @@ compiler['CXXINCLUDES'].append(os.path.join(base, 'public', 'sourcepawn'))
compiler['CDEFINES'].append('SM_DEFAULT_THREADER') compiler['CDEFINES'].append('SM_DEFAULT_THREADER')
compiler['CDEFINES'].append('SM_LOGIC') compiler['CDEFINES'].append('SM_LOGIC')
if AMBuild.target['platform'] == 'linux'
compiler['POSTLINKFLAGS'].append('-lpthread')
extension = AMBuild.AddJob('sourcemod.logic') extension = AMBuild.AddJob('sourcemod.logic')
binary = Cpp.LibraryBuilder('sourcemod.logic', AMBuild, extension, compiler) binary = Cpp.LibraryBuilder('sourcemod.logic', AMBuild, extension, compiler)
files = [ files = [