perl: set ar, cc, and ld in the generic builder

This commit is contained in:
Tristan Ross
2025-01-19 21:56:04 -08:00
parent 6d43ecacaa
commit 6e1ce1a647
@@ -23,7 +23,9 @@ preConfigure() {
local flagsArray=()
concatTo flagsArray makeMakerFlags
perl Makefile.PL PREFIX=$out INSTALLDIRS=site "${flagsArray[@]}" PERL=$(type -P perl) FULLPERL=\"$fullperl/bin/perl\"
perl Makefile.PL AR=$AR FULL_AR=$AR CC=$CC LD=$CC CPPRUN="$CC -E" \
PREFIX=$out INSTALLDIRS=site "${flagsArray[@]}" \
PERL=$(type -P perl) FULLPERL=\"$fullperl/bin/perl\"
}
if test -n "$perlPreHook"; then