summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-02-13 19:00:12 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-02-13 19:00:12 +0000
commitf7b05108a6f910aef3095835c5ef6662aeb272ca (patch)
tree2656ad2cdb65839d9e6a8cca654fbbbc84ef5e80
parent906d09feee7055c411790bb62ef839c43ba5fe0f (diff)
downloaddrakx-f7b05108a6f910aef3095835c5ef6662aeb272ca.tar
drakx-f7b05108a6f910aef3095835c5ef6662aeb272ca.tar.gz
drakx-f7b05108a6f910aef3095835c5ef6662aeb272ca.tar.bz2
drakx-f7b05108a6f910aef3095835c5ef6662aeb272ca.tar.xz
drakx-f7b05108a6f910aef3095835c5ef6662aeb272ca.zip
at last fix the culprit for the dreaded "relocation error"
(esp. occured when the glibc changed)
-rw-r--r--perl-install/c/Makefile6
1 files 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: