aboutsummaryrefslogtreecommitdiff
path: root/paludis/environments/portage/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/environments/portage/Makefile.am')
-rw-r--r--paludis/environments/portage/Makefile.am5
1 files changed, 4 insertions, 1 deletions
diff --git a/paludis/environments/portage/Makefile.am b/paludis/environments/portage/Makefile.am
index b8143ed..a71258b 100644
--- a/paludis/environments/portage/Makefile.am
+++ b/paludis/environments/portage/Makefile.am
@@ -29,12 +29,15 @@ EXTRA_DIST = \
TESTS = portage_environment_TEST
portage_environment_TEST_SOURCES = portage_environment_TEST.cc
+
portage_environment_TEST_LDADD = \
- $(top_builddir)/test/libtest.a \
+ $(top_builddir)/paludis/util/gtest_runner.o \
$(top_builddir)/paludis/libpaludis_@PALUDIS_PC_SLOT@.la \
$(top_builddir)/paludis/util/libpaludisutil_@PALUDIS_PC_SLOT@.la \
$(DYNAMIC_LD_LIBS)
+portage_environment_TEST_LDFLAGS = @GTESTDEPS_LDFLAGS@ @GTESTDEPS_LIBS@
+
portage_environment_TEST_CXXFLAGS = $(AM_CXXFLAGS) @PALUDIS_CXXFLAGS_NO_DEBUGGING@
check_PROGRAMS = $(TESTS)