diff options
author | Martin Pitt <martin.pitt@ubuntu.com> | 2011-01-19 15:40:46 +0100 |
---|---|---|
committer | Martin Pitt <martin.pitt@ubuntu.com> | 2011-01-19 15:40:46 +0100 |
commit | d45a0114a500342699b66d0c034d67ad8055f60e (patch) | |
tree | 0c940c365a57749190317ea09d51272d9964a71b /examples | |
parent | cbbfe48ee473e428e431f18f83b6a0f708f34618 (diff) | |
download | gtk+-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.am | 3 |
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 \ |