From ce48278b21167684ba7d2f8924defbacd1b19305 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Thu, 25 Oct 2018 19:50:28 +0100 Subject: [PATCH] perl: Fix build in toolchain Signed-off-by: Michael Tremer --- lfs/perl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lfs/perl b/lfs/perl index 4eee16b804..a151e765b4 100644 --- a/lfs/perl +++ b/lfs/perl @@ -90,10 +90,11 @@ ifeq "$(ROOT)" "" cd $(DIR_APP) && make $(MAKETUNING) cd $(DIR_APP) && make install else - cd $(DIR_APP) && ./configure.gnu --prefix=$(TOOLS_DIR) -Dstatic_ext='Data/Dumper Fcntl IO' + cd $(DIR_APP) && ./Configure -des -Dprefix=$(TOOLS_DIR) \ + -Dlibs="-lm" -Uloclibpth -Ulocincpth cd $(DIR_APP) && sed -i 's/^0$$//' makefile cd $(DIR_APP) && sed -i 's/^0$$//' x2p/makefile - cd $(DIR_APP) && make perl utilities + cd $(DIR_APP) && make cd $(DIR_APP) && cp -v perl pod/pod2man $(TOOLS_DIR)/bin cd $(DIR_APP) && mkdir -pv $(TOOLS_DIR)/lib/perl5/$(VER) cd $(DIR_APP) && cp -Rv lib/* $(TOOLS_DIR)/lib/perl5/$(VER) -- 2.39.2