summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorJussi Pakkanen <jussi.pakkanen@canonical.com>2012-02-02 14:36:32 +0200
committerChase Douglas <chase.douglas@canonical.com>2012-02-02 11:51:29 -0800
commit24fbaa20c179ce4b4d9be9627bb41daffc91527a (patch)
treeda76e468c911b5953920260211f3644fddad79a0 /examples
parent79b2d4e7f976621705bd32a9fd16e56c989a5a45 (diff)
Fix build system.
The project could not be built from scratch due to erroneous Autofoo setup. This commit makes it work. Signed-off-by: Jussi Pakkanen <jussi.pakkanen@canonical.com> Reviewed-by: Chase Douglas <chase.douglas@canonical.com> Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/Makefile.am6
1 files changed, 4 insertions, 2 deletions
diff --git a/examples/Makefile.am b/examples/Makefile.am
index 0bc8272..5f57519 100644
--- a/examples/Makefile.am
+++ b/examples/Makefile.am
@@ -24,6 +24,8 @@ xorg_gtest_example_SOURCES = xorg-gtest.cpp
xorg_gtest_example_CPPFLAGS = \
$(AM_CPPFLAGS) \
- $(GTEST_CPPFLAGS)
+ $(GTEST_CPPFLAGS) \
+ -I$(top_srcdir)/include
+
+xorg_gtest_example_LDADD = $(top_builddir)/src/libxorg-gtest.la $(top_builddir)/src/libxorg-gtest_main.la -lgtest -lpthread -lX11
-xorg_gtest_example_LDFLAGS = -lxorg-gtest -lxorg-gtest_main -lgtest -lpthread -lX11