summaryrefslogtreecommitdiff
path: root/perl.c
diff options
context:
space:
mode:
authorGisle Aas <gisle@aas.no>2005-10-31 19:27:49 -0800
committerSteve Peters <steve@fisharerojo.org>2005-11-04 15:10:44 +0000
commit20fac488e1792684d006c2bb2c54d6cebc9696c0 (patch)
treeb5e775e86d93e2388338f106225fb7046623721c /perl.c
parentc9f7ac20cc60b6edea0f8aa7d2d3184bb6978820 (diff)
downloadperl-20fac488e1792684d006c2bb2c54d6cebc9696c0.tar.gz
Re: Configure -Dno_mathoms
Message-ID: <lrslug7glm.fsf@caliper.activestate.com> p4raw-id: //depot/perl@25991
Diffstat (limited to 'perl.c')
-rw-r--r--perl.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/perl.c b/perl.c
index e3676957d5..a77c8865e5 100644
--- a/perl.c
+++ b/perl.c
@@ -137,6 +137,14 @@ static I32 read_e_script(pTHX_ int idx, SV *buf_sv, int maxlen);
#endif
#endif
+#ifndef NO_MATHOMS
+/* This reference ensure that the mathoms are linked with perl */
+void Perl_mathoms_ref() {
+ extern void Perl_mathoms();
+ Perl_mathoms();
+}
+#endif
+
static void
S_init_tls_and_interp(PerlInterpreter *my_perl)
{