From 2a9967731a3b77b102ada633c39b5a35efc80957 Mon Sep 17 00:00:00 2001 From: Chun-wei Fan Date: Tue, 26 Jan 2016 15:56:07 +0800 Subject: [PATCH] demos: Don't build font features demo on non-UNIX The fonts features demo now uses fontconfig APIs via PangoFT2, which makes the code not build on non-Linux, so only include this demo in the build on UNIX. --- demos/gtk-demo/Makefile.am | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/demos/gtk-demo/Makefile.am b/demos/gtk-demo/Makefile.am index bbe91eae41..64cc8c4d71 100644 --- a/demos/gtk-demo/Makefile.am +++ b/demos/gtk-demo/Makefile.am @@ -26,7 +26,6 @@ demos_base = \ event_axes.c \ expander.c \ filtermodel.c \ - font_features.c \ foreigndrawing.c \ gestures.c \ glarea.c \ @@ -72,7 +71,7 @@ demos_base = \ tree_store.c if OS_UNIX -demos = $(demos_base) pagesetup.c +demos = $(demos_base) font_features.c pagesetup.c else demos = $(demos_base) endif @@ -177,7 +176,7 @@ uninstall-update-icon-cache: MSVCPROJS = gtk3-demo gtk3-demo-application gtk3_demo_FILES = $(gtk3_demo_SOURCES) -gtk3_demo_EXCLUDES = pagesetup.c +gtk3_demo_EXCLUDES = font_features.c|pagesetup.c gtk3_demo_application_FILES = $(gtk3_demo_application_SOURCES) gtk3_demo_application_EXCLUDES = dummy