Merge pull request #2802 from BrzVlad/feature-evacuation-opt2
[mono.git] / mcs / tools / mono-shlib-cop / Makefile
index ec9d5a2a87d37a997decf3aa5b6dd288b4957cf5..2bfc65599d9abfef1c2b5cf6509dd0b420b0ca71 100644 (file)
@@ -2,7 +2,8 @@ thisdir = tools/mono-shlib-cop
 SUBDIRS = 
 include ../../build/rules.make
 
-LOCAL_MCS_FLAGS = -r:Mono.Posix.dll
+LOCAL_MCS_FLAGS =
+LIB_REFS = Mono.Posix System System.Xml
 
 PROGRAM = mono-shlib-cop.exe
 
@@ -20,7 +21,7 @@ cleanup:
 run-test-local: run-mono-shlib-cop-test
 
 run-mono-shlib-cop-test: $(the_lib) $(TEST_INPUT)
-       $(RUNTIME) $(the_lib) $(TEST_INPUT) | diff - test.dll.out
+       MONO_PATH="$(topdir)/class/lib/$(PROFILE)$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH" $(RUNTIME) $(the_lib) $(TEST_INPUT) | diff - test.dll.out
 
 $(TEST_INPUT) : test.cs
        $(CSCOMPILE) -target:library $< -out:$@