Merge pull request #2373 from akoeplinger/servicemodel-tcpreplychannel-race
[mono.git] / mcs / class / Mono.Dynamic.Interpreter / Makefile
index bbb733bf693fbf4a6bafd842c33673c2487e1a93..903006b49b56052e2c2ad929f63327c4ff43e085 100644 (file)
@@ -4,13 +4,12 @@ include ../../build/rules.make
 
 LIBRARY = Mono.Dynamic.Interpreter.dll
 
-LIB_MCS_FLAGS = -r:System.dll -r:System.Core.dll \
+LIB_REFS = System System.Core
+LIB_MCS_FLAGS = \
        -d:FEATURE_CORE_DLR,FEATURE_DBNULL,FEATURE_DEFAULT_PARAMETER_VALUE,FEATURE_GET_TYPE_INFO,FEATURE_VARIANCE,FEATURE_SERIALIZATION,CLR45 \
        -d:MONO_INTERPRETER \
        -delaysign -keyfile:../mono.pub
 
-MOBILE_STATIC := $(filter mobile_static monotouch monotouch_runtime, $(PROFILE))
-
 ifdef MOBILE_STATIC
 mono_dynamic_interpreter_deps = $(the_libdir_base)plaincore/System.Core.dll
 LIB_MCS_FLAGS += -lib:$(the_libdir_base)plaincore