From f7b05108a6f910aef3095835c5ef6662aeb272ca Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Thu, 13 Feb 2003 19:00:12 +0000 Subject: at last fix the culprit for the dreaded "relocation error" (esp. occured when the glibc changed) --- perl-install/c/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/perl-install/c/Makefile b/perl-install/c/Makefile index a553ca2f6..e67d02f80 100644 --- a/perl-install/c/Makefile +++ b/perl-install/c/Makefile @@ -2,10 +2,12 @@ C_RPM = 1 C_DRAKX = 1 +MYENV = C_RPM=$(C_RPM) C_DRAKX=$(C_DRAKX) +MAKEIT = $(MYENV) $(MAKE) -f Makefile_c LD_RUN_PATH= stuff: %: %.xs - test -e Makefile_c || C_RPM=$(C_RPM) C_DRAKX=$(C_DRAKX) perl Makefile.PL - $(MAKE) -f Makefile_c LD_RUN_PATH= || $(MAKE) -f Makefile_c LD_RUN_PATH= + test -e Makefile_c || $(MYENV) perl Makefile.PL + $(MAKEIT) || $(MAKEIT) rm -f ../auto/c ; ln -s ../c/blib/arch/auto ../auto/c clean: -- cgit v1.2.1