2007-06-12 Marek Safar <marek.safar@gmail.com>
authorMarek Safar <marek.safar@gmail.com>
Tue, 12 Jun 2007 16:59:23 +0000 (16:59 -0000)
committerMarek Safar <marek.safar@gmail.com>
Tue, 12 Jun 2007 16:59:23 +0000 (16:59 -0000)
* Makefile: Check only major framework version to do 2.x build.

svn path=/trunk/mcs/; revision=79315

mcs/class/System.Security/ChangeLog
mcs/class/System.Security/Makefile

index 0ab30fca9deb2598e3f6d6798991f76084c1d2b3..8715bd5d6596664566fb9313b4874e80dee976bb 100644 (file)
@@ -1,3 +1,7 @@
+2007-06-12  Marek Safar <marek.safar@gmail.com>
+
+       * Makefile: Check only major framework version to do 2.x build.
+
 2007-01-17  Atsushi Enomoto  <atsushi@ximian.com>
 
        * System.Security_test.dll.sources : added
index 46736af6010754215799ac7b8ec4e8fb6d28b2d9..f82927277b47db788601026cdc105ee64d34479c 100644 (file)
@@ -9,7 +9,7 @@ LIB_MCS_FLAGS = -nowarn:618 \
 
 TEST_MCS_FLAGS = $(LIB_MCS_FLAGS) -nowarn:169,219,1595
 
-ifeq (net_2_0,$(PROFILE))
+ifeq (2, $(FRAMEWORK_VERSION_MAJOR))
 LIB_MCS_FLAGS += -r:Mono.Security.dll -nowarn:414
 TEST_MCS_FLAGS += -nowarn:168,183,414
 endif