summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorMartin Pitt <martin.pitt@ubuntu.com>2011-01-19 15:40:46 +0100
committerMartin Pitt <martin.pitt@ubuntu.com>2011-01-19 15:40:46 +0100
commitd45a0114a500342699b66d0c034d67ad8055f60e (patch)
tree0c940c365a57749190317ea09d51272d9964a71b /examples
parentcbbfe48ee473e428e431f18f83b6a0f708f34618 (diff)
downloadgtk+-d45a0114a500342699b66d0c034d67ad8055f60e.tar.gz
Fix linking of drawing example
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.
Diffstat (limited to 'examples')
-rw-r--r--examples/Makefile.am3
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/Makefile.am b/examples/Makefile.am
index 948d58a213..440197fd0e 100644
--- a/examples/Makefile.am
+++ b/examples/Makefile.am
@@ -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 \