summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorPeter Prymmer <PPrymmer@factset.com>2000-10-24 05:57:22 -0700
committerJarkko Hietaniemi <jhi@iki.fi>2000-10-25 13:48:41 +0000
commit8d4151d38b6388a812272063c381dbe6deb90843 (patch)
tree78e4a6d683e5afbdaaae7c6054866508b62618c4 /ext
parentbd0e0981ad1b91dd1e1d75c33e1e405c39ceca34 (diff)
downloadperl-8d4151d38b6388a812272063c381dbe6deb90843.tar.gz
AIX is picky about its symbol exports. Solution for now
is to include the deb.o explicitly to the re extension build. Subject: Re: introduce missing .Perl_deb symbol to aix build (Questions) Message-ID: <Pine.OSF.4.10.10010241252180.127055-100000@aspara.forte.com> p4raw-id: //depot/perl@7434
Diffstat (limited to 'ext')
-rw-r--r--ext/re/Makefile.PL9
1 files changed, 8 insertions, 1 deletions
diff --git a/ext/re/Makefile.PL b/ext/re/Makefile.PL
index bc31b2c2cc..f337db191f 100644
--- a/ext/re/Makefile.PL
+++ b/ext/re/Makefile.PL
@@ -1,12 +1,19 @@
use ExtUtils::MakeMaker;
use File::Spec;
+use Config;
+
+my $object = 're_exec$(OBJ_EXT) re_comp$(OBJ_EXT) re$(OBJ_EXT)';
+
+if ($^O eq 'aix' && defined($Config{'ccversion'}) && $Config{'ccversion'} eq '3.6.6.0') {
+ $object .= ' ../../deb$(OBJ_EXT)';
+}
WriteMakefile(
NAME => 're',
VERSION_FROM => 're.pm',
MAN3PODS => {}, # Pods will be built by installman.
XSPROTOARG => '-noprototypes',
- OBJECT => 're_exec$(OBJ_EXT) re_comp$(OBJ_EXT) re$(OBJ_EXT)',
+ OBJECT => $object,
DEFINE => '-DPERL_EXT_RE_BUILD -DPERL_EXT_RE_DEBUG',
clean => { FILES => '*$(OBJ_EXT) *.c ../../lib/re.pm' },
);