[android] Link against math library for Bionic.

The Bionic modulemap was missing the autolinking information against
libm, so using the module math functions might have hit undefined
symbols (it was happening in TestDecimal in Foundation for me). The line
is present in the Linux glibc.modulemap, but was not there for Android
Bionic modulemap.
This commit is contained in:
Daniel Rodríguez Troitiño
2019-08-26 17:32:51 -07:00
parent 38fdb33751
commit f77e2835f0

View File

@@ -83,6 +83,7 @@ module SwiftGlibc [system] {
export *
}
module math {
link "m"
header "${GLIBC_INCLUDE_PATH}/math.h"
export *
}