]> git.ipfire.org Git - location/libloc.git/commitdiff
perl: Provide library location when running the testsuite
authorStefan Schantl <stefan.schantl@ipfire.org>
Thu, 21 Nov 2019 14:51:51 +0000 (15:51 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 25 Nov 2019 12:33:54 +0000 (12:33 +0000)
Otherwise the perl testsuite could not locate libloc and will fail.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Makefile.am

index 4aa490ad1c9cd43769284f41bb544c3c69e70873..ca199c42ce9dfa9527665f4f546d853e16b44b67 100644 (file)
@@ -201,7 +201,7 @@ build-perl:
 
 .PHONY: check-perl
 check-perl: testdata.db
-       cd $(builddir)/src/perl && $(MAKE) test database="../../$<"
+       cd $(builddir)/src/perl && $(MAKE) LD_LIBRARY_PATH="$(abs_builddir)/src/.libs" test database="../../$<"
 
 .PHONY: install-perl
 install-perl: