summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 01325cfc..e7e40a8a 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -36,7 +36,7 @@ test_promotion_set.o test_resolver_costs.o test_resolver_hints.o: $(top_srcdir)/
if BUILD_LOCAL_GMOCK
noinst_LIBRARIES = libgmock.a
-GMOCK_LDFLAGS = $(srcdir)/libgmock.a -lgtest
+GMOCK_LDFLAGS = $(builddir)/libgmock.a -lgtest
nodist_libgmock_a_SOURCES = /usr/src/gmock/src/gmock-all.cc
libgmock_a_CPPFLAGS = -I/usr/src/gmock
else