[mobile_static] Don't include Mono.Posix dependency to test driver
authorAlexander Kyte <alexmkyte@fastmail.com>
Tue, 7 Jun 2016 23:32:52 +0000 (19:32 -0400)
committerAlexander Kyte <alexmkyte@gmail.com>
Mon, 18 Jul 2016 19:03:39 +0000 (15:03 -0400)
mono/tests/Makefile.am

index 99294116eacd294deef70772e6a47ff49b527261..c594408433ba179b3a98a94016682619144643cf 100644 (file)
@@ -745,8 +745,12 @@ EXTRA_DIST=test-driver test-runner.cs $(TEST_CS_SRC_DIST) $(TEST_IL_SRC) \
 %.exe: %.il
        $(ILASM) -out:$@ $<
 
+if !INSTALL_MOBILE_STATIC
+TEST_DRIVER_HARD_KILL_FEATURE=-r:Mono.Posix.dll
+endif
+
 %.exe: %.cs TestDriver.dll
-       $(MCS) -r:System.dll -r:System.Xml.dll -r:System.Core.dll -r:TestDriver.dll -r:Mono.Posix.dll -out:$@ $<
+       $(MCS) -r:System.dll -r:System.Xml.dll -r:System.Core.dll -r:TestDriver.dll $(TEST_DRIVER_HARD_KILL_FEATURE) -out:$@ $<
 
 # mkbundle works on ppc, but the pkg-config POC doesn't when run with make test
 if POWERPC