diff --git a/Makefile.am b/Makefile.am index 0f493405..d89f4a96 100644 --- a/Makefile.am +++ b/Makefile.am @@ -17,7 +17,7 @@ include $(top_srcdir)/gtest.mk # only build widgets if we have webkit -if HAVE_WEBKIT +if BUILD_WIDGETS widgets=widgets else widgets= diff --git a/toys/Makefile.am b/toys/Makefile.am index 1550c4d7..57debc56 100644 --- a/toys/Makefile.am +++ b/toys/Makefile.am @@ -24,7 +24,7 @@ SUBDIRS += mug endif # for mug2, we need webkit -if HAVE_WEBKIT +if BUILD_WIDGETS SUBDIRS += mug2 endif