Fix System.Messaging makefile logic issue
authorChris Hamons <chris.hamons@xamarin.com>
Mon, 22 Jun 2015 15:22:12 +0000 (10:22 -0500)
committerChris Hamons <chris.hamons@xamarin.com>
Mon, 22 Jun 2015 15:22:12 +0000 (10:22 -0500)
- Introduced in b044a27fe0006830b2793e3d34f45407b656b8b2

mcs/class/System.Messaging/Makefile

index 82ff954cebd7a09a9e5ce3dc897db10dbdf88805..4cf4c29ab083040b47ed92087f5c42d22d0fdd2a 100644 (file)
@@ -15,8 +15,9 @@ TEST_MCS_FLAGS = $(LIB_MCS_FLAGS) -nowarn:0618 -nowarn:219 -nowarn:169 \
 
 EXTRA_DISTFILES = System.Messaging/MessageQueue.resx
 
-ifndef NO_WINFORMS_DEPENDENCY
+ifdef NO_WINFORMS_DEPENDENCY
 LIB_MCS_FLAGS += -d:NO_WINFORMS_DEPENDENCY
+else
 LIB_REFS += System.Windows.Forms
 endif