Don't reference WindowsBase in the mobile profiles.
authorPaolo Molaro <lupus@oddwiz.org>
Fri, 7 Oct 2011 08:59:24 +0000 (10:59 +0200)
committerPaolo Molaro <lupus@oddwiz.org>
Fri, 7 Oct 2011 08:59:24 +0000 (10:59 +0200)
mcs/class/System.Data.Services.Client/Makefile

index 1c73220692e3bb9d65e8f0f86b68a86469f9ef6a..1610a466d7026d5df3556b7e6d9ef09086953a00 100644 (file)
@@ -11,7 +11,10 @@ LIB_MCS_FLAGS = \
        -r:System.Xml.Linq.dll \
        -r:System.Data.dll \
        -r:System.Xml.dll \
-       -r:WindowsBase.dll \
        -warn:2
 
+ifneq (2.1, $(FRAMEWORK_VERSION))
+LIB_MCS_FLAGS += -r:WindowsBase
+endif
+
 include ../../build/library.make