-lm is needed on some platforms, harmless on others

This commit is contained in:
Adam Ierymenko 2020-07-01 12:38:22 -07:00
parent 206524b9e6
commit e213317532
No known key found for this signature in database
GPG key ID: C8877CF2D7A5D7F3

View file

@ -257,7 +257,7 @@ if(NOT PACKAGE_STATIC)
)
endif(BUILD_ARM_V5)
else()
set(GO_EXTRA_LIBRARIES "-lc++")
set(GO_EXTRA_LIBRARIES "-lc++" "-lm")
endif()
endif(WIN32)