projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #2462 from ludovic-henry/monoerror-mono_object_new_specific
[mono.git]
/
mcs
/
class
/
Mono.CSharp
/
Makefile
diff --git
a/mcs/class/Mono.CSharp/Makefile
b/mcs/class/Mono.CSharp/Makefile
index 2e67f5993926e04edda39a0b1f555dc5eed9439d..5fe1a18705aa43e4600800f4ed850a216c73066b 100644
(file)
--- a/
mcs/class/Mono.CSharp/Makefile
+++ b/
mcs/class/Mono.CSharp/Makefile
@@
-4,9
+4,20
@@
include ../../build/rules.make
LIBRARY = Mono.CSharp.dll
LIBRARY = Mono.CSharp.dll
-LIB_MCS_FLAGS = -r:System.Core.dll -r:System.Xml.dll -r:System.dll
+LIB_REFS = System.Core System.Xml System
+LIB_MCS_FLAGS =
+
+ifdef MOBILE_STATIC
+LIB_MCS_FLAGS += -d:IOS_REFLECTION
+endif
+
+ifndef NO_THREAD_ABORT
+REFERENCE_SOURCES_FLAGS += -d:MONO_FEATURE_THREAD_ABORT
+endif
TEST_MCS_FLAGS = -r:System.Core.dll
TEST_MCS_FLAGS = -r:System.Core.dll
+LIB_MCS_FLAGS += $(REFERENCE_SOURCES_FLAGS)
+
include ../../build/library.make
include ../../build/library.make