From: Stefan Schantl Date: Tue, 12 May 2020 15:07:04 +0000 (+0200) Subject: Makefile.am: Specify CC and LD when compiling perl module. X-Git-Tag: 0.9.1~51 X-Git-Url: http://git.ipfire.org/?p=location%2Flibloc.git;a=commitdiff_plain;h=cf37d1948d932a55b5d1ae09a7d8aedca3b6d80a Makefile.am: Specify CC and LD when compiling perl module. This fixes the issues when cross compiling libloc and the perl binding. Signed-off-by: Stefan Schantl Signed-off-by: Michael Tremer --- diff --git a/Makefile.am b/Makefile.am index af70a4e..5eae559 100644 --- a/Makefile.am +++ b/Makefile.am @@ -219,7 +219,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