Commit cf37d194 authored by Stefan Schantl's avatar Stefan Schantl Committed by Michael Tremer

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: default avatarStefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: default avatarMichael Tremer <michael.tremer@ipfire.org>
parent b89cee80
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment