Merge pull request #196 from Arkshine/fix/floorf-dependency-linux
Fix missing libm linkage under linux (math functions like floor, etc.)
This commit is contained in:
commit
2dc1982e11
|
@ -230,7 +230,7 @@ class AMXXConfig(object):
|
|||
# Platform-specifics
|
||||
if builder.target_platform == 'linux':
|
||||
cfg.defines += ['_LINUX', 'POSIX', 'LINUX']
|
||||
cfg.postlink += ['-ldl']
|
||||
cfg.postlink += ['-ldl', '-lm']
|
||||
if cxx.name == 'gcc':
|
||||
cfg.postlink += ['-static-libgcc']
|
||||
elif cxx.name == 'clang':
|
||||
|
|
Loading…
Reference in New Issue
Block a user