Fix mono exception handler crashing on windows.
[mono.git] / mono / dis / Makefile.am
index 1fa0c43e8b0f781fee5c53b0a86442a30a166357..fd581ff5514d8c6a5cbe0dfb7a2b18098cae22a1 100644 (file)
@@ -1,4 +1,4 @@
-INCLUDES = $(GLIB_CFLAGS) -I$(top_srcdir)
+AM_CPPFLAGS = $(GLIB_CFLAGS) -I$(top_srcdir)
 
 if HOST_WIN32
 export HOST_CC
@@ -24,10 +24,14 @@ endif
 if DISABLE_EXECUTABLES
 bin_PROGRAMS =
 else
+if DISABLE_LIBRARIES
+bin_PROGRAMS =
+else
 if SUPPORT_BOEHM
 bin_PROGRAMS = monodis
 endif
 endif
+endif
 
 noinst_LIBRARIES = libmonodis.a