Makefile.am: Do not specify CC and LD when building perl module.
Commit Message
Specifing the CC and LD flags is not required because perl MakeMaker
takes care of this.
Fixes #12574.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
---
Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
@@ -230,7 +230,7 @@ build-perl:
cd $(builddir)/src/perl && $(PERL) Makefile.PL INSTALLDIRS=vendor \
INC="-I$(abs_srcdir)/src" LIBS="-L$(abs_builddir)/src/.libs -lloc"
- cd $(builddir)/src/perl && $(MAKE) CC="$(CC)" LD="$(LD)" LD_RUN_PATH=
+ cd $(builddir)/src/perl && $(MAKE) LD_RUN_PATH=""
.PHONY: check-perl
check-perl: testdata.db