Merge pull request #1262 from esdrubal/uriserializationinfo
[mono.git] / mcs / class / Mono.CSharp / Makefile
index 2e67f5993926e04edda39a0b1f555dc5eed9439d..85b86e0f4669a7666d8dec465e61e42cdecc9180 100644 (file)
@@ -6,6 +6,10 @@ LIBRARY = Mono.CSharp.dll
 
 LIB_MCS_FLAGS = -r:System.Core.dll -r:System.Xml.dll -r:System.dll
 
+ifeq (monotouch, $(PROFILE))
+LIB_MCS_FLAGS += -d:IOS_REFLECTION
+endif
+
 TEST_MCS_FLAGS = -r:System.Core.dll
 
 include ../../build/library.make