summaryrefslogtreecommitdiff
path: root/demos
diff options
context:
space:
mode:
authorKouhei Sutou <kou@clear-code.com>2018-08-06 16:15:48 +0900
committerKouhei Sutou <kou@clear-code.com>2018-08-06 16:19:35 +0900
commit4c94a76237446f22646a5367bdf48b6b13eeff92 (patch)
treee3010230b860678aa7cfed34321a1170c634b9ab /demos
parentac030fd5e1ecc7942a505611deb97cb07b2b2676 (diff)
downloadgtk+-4c94a76237446f22646a5367bdf48b6b13eeff92.tar.gz
font chooser widget: Add missing build flags
If we detect HarfBuzz and PangoFT2, GtkFontChooserWidget uses them. So we need to add CFLAGS and LIBS of them to GTK_DEP_CFLAGS/LIBS. If we don't add them, MinGW build fails to link.
Diffstat (limited to 'demos')
-rw-r--r--demos/gtk-demo/Makefile.am5
1 files changed, 0 insertions, 5 deletions
diff --git a/demos/gtk-demo/Makefile.am b/demos/gtk-demo/Makefile.am
index 64245b4b6e..c8529e5bf7 100644
--- a/demos/gtk-demo/Makefile.am
+++ b/demos/gtk-demo/Makefile.am
@@ -104,11 +104,6 @@ LDADDS = \
$(GDK_DEP_LIBS) \
-lm
-if BUILD_FONT_DEMO
-AM_CPPFLAGS += $(FONTDEMO_CFLAGS)
-LDADDS += $(FONTDEMO_LIBS)
-endif
-
bin_PROGRAMS = gtk3-demo gtk3-demo-application
desktopdir = $(datadir)/applications