[runtime] Enable the complex math support code on Android.
authorJoão Matos <joao@tritao.eu>
Mon, 30 Mar 2015 16:20:21 +0000 (17:20 +0100)
committerJoão Matos <joao@tritao.eu>
Mon, 30 Mar 2015 16:22:15 +0000 (17:22 +0100)
Previously I thought these implementations were not needed but dlopen () was complaining when loading libmonosgen.so on Android so we do need them.

mono/metadata/Makefile.am

index a4ecc80d36def1e2bfc1a7ea0020d6b621bb18e5..e29743f42071b6eb5ad1276507e9318c1c4a42a4 100644 (file)
@@ -28,6 +28,10 @@ unix_sources = \
 platform_sources = $(unix_sources)
 endif
 
+if PLATFORM_ANDROID
+platform_sources += ../../support/libm/complex.c
+endif
+
 if SHARED_MONO
 if SUPPORT_BOEHM
 bin_PROGRAMS = pedump