This fixes the issues when cross compiling libloc and the perl binding.
Signed-off-by: Stefan Schantl stefan.schantl@ipfire.org --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile.am b/Makefile.am index ee1c36f..6c01e76 100644 --- a/Makefile.am +++ b/Makefile.am @@ -205,7 +205,7 @@ build-perl:
cd $(builddir)/src/perl && $(PERL) Makefile.PL PREFIX="$(prefix)" \ INC="-I$(abs_srcdir)/src" LIBS="-L$(abs_builddir)/src/.libs -lloc" - cd $(builddir)/src/perl && $(MAKE) LD_RUN_PATH= + cd $(builddir)/src/perl && $(MAKE) CC="$(CC)" LD="$(LD)" LD_RUN_PATH=
.PHONY: check-perl check-perl: testdata.db