diff --git a/AMBuildScript b/AMBuildScript index 51e0acc3..cf38a4e2 100644 --- a/AMBuildScript +++ b/AMBuildScript @@ -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':