]> Pileus Git - ~andy/gtk/commitdiff
Fix linking of drawing example
authorMartin Pitt <martin.pitt@ubuntu.com>
Wed, 19 Jan 2011 14:40:46 +0000 (15:40 +0100)
committerMartin Pitt <martin.pitt@ubuntu.com>
Wed, 19 Jan 2011 14:40:46 +0000 (15:40 +0100)
Commit 80e1340e introduced using a GDK method in examples/drawing.c, so
actually link that to GDK. Fixes build failure with --as-needed linker option
and gcc 4.5.

examples/Makefile.am

index 948d58a21331ddbb24fe724ec4988418a69afe55..440197fd0e1e58afe39da42aba771d8021601ee9 100644 (file)
@@ -48,6 +48,9 @@ LDADD = \
        $(top_builddir)/gtk/libgtk-3.0.la       \
        $(GTK_DEP_LIBS)
 
+drawing_LDADD = $(LDADD) \
+       $(top_builddir)/gdk/libgdk-3.0.la
+
 noinst_PROGRAMS = \
        hello-world                             \
        window-default                          \