Fix missing libm linkage (math functions like floor, etc.)
This commit is contained in:
parent
a51904b13f
commit
c93995a827
|
@ -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