summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGaetan Nadon <memsize@videotron.ca>2012-02-27 11:04:35 -0500
committerChase Douglas <chase.douglas@canonical.com>2012-02-29 10:59:54 -0800
commite19ee59526198734118a5894ef2c4cef97528064 (patch)
treeea22f7c709cef315f9c18699e8470a8ac105e033
parent749b0eabd8c6075cac082b3727da5efdcc68d6e6 (diff)
distcheck fails: cannot open linker script file libxorg-gtest.ver
The $(top_srcdir) path is needed to locate the source as it is not in the same dir as the generated files. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> Reviewed-by: Chase Douglas <chase.douglas@canonical.com> Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
-rw-r--r--src/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 24a1b8c..35903fb 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -28,10 +28,10 @@ libxorg_gtest_main_la_CPPFLAGS = \
$(AM_CPPFLAGS) \
$(GTEST_CPPFLAGS)
-libxorg_gtest_la_LDFLAGS = $(XSERVER_LIBS) -Wl,--version-script=libxorg-gtest.ver
+libxorg_gtest_la_LDFLAGS = $(XSERVER_LIBS) -Wl,--version-script=$(top_srcdir)/src/libxorg-gtest.ver
libxorg_gtest_main_la_LDFLAGS = \
$(XSERVER_LIBS) \
- -Wl,--version-script=libxorg-gtest_main.ver
+ -Wl,--version-script=$(top_srcdir)/src/libxorg-gtest_main.ver
AM_CXXFLAGS = -I$(top_srcdir)/include $(XSERVER_CFLAGS)