--- a/make-rules/shared-macros.mk Thu Jun 13 20:08:09 2013 +0100
+++ b/make-rules/shared-macros.mk Thu Jun 13 19:36:46 2013 -0700
@@ -313,10 +313,12 @@
PERL.5.8.4 = /usr/perl5/5.8.4/bin/perl
PERL.5.12 = /usr/perl5/5.12/bin/perl
+PERL.5.12-mt = /usr/perl5/5.12/bin/perl-threaded
PERL = $(PERL.$(PERL_VERSION))
PERL_ARCH := $(shell $(PERL) -e 'use Config; print $$Config{archname}')
+PERL_ARCH_FUNC= $(shell $(1) -e 'use Config; print $$Config{archname}')
# Optimally we should ask perl which C compiler was used but it doesn't
# result in a full path name. Only "c" is being recorded
# inside perl builds while we actually need a full path to