Added -lpthread to sourcemod.logic binary.
This commit is contained in:
parent
a439c3be3c
commit
70993256b9
@ -10,6 +10,9 @@ compiler['CXXINCLUDES'].append(os.path.join(base, 'public', 'sourcepawn'))
|
||||
compiler['CDEFINES'].append('SM_DEFAULT_THREADER')
|
||||
compiler['CDEFINES'].append('SM_LOGIC')
|
||||
|
||||
if AMBuild.target['platform'] == 'linux'
|
||||
compiler['POSTLINKFLAGS'].append('-lpthread')
|
||||
|
||||
extension = AMBuild.AddJob('sourcemod.logic')
|
||||
binary = Cpp.LibraryBuilder('sourcemod.logic', AMBuild, extension, compiler)
|
||||
files = [
|
||||
|
Loading…
Reference in New Issue
Block a user