diff options
author | Todd Vierling <tv@duh.org> | 2005-01-21 14:36:31 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2005-01-21 15:26:10 +0000 |
commit | 0c52c6a9db5934c6cadc50a4a66634da7bea4268 (patch) | |
tree | 6c036a9286ff115e1571ab88a6f3c255be6b34ec /lib/ExtUtils/MM_Unix.pm | |
parent | 46fcf6af865510acbf782947f6b836299b8cc42d (diff) | |
download | perl-0c52c6a9db5934c6cadc50a4a66634da7bea4268.tar.gz |
[perl #33892] Add Interix support
From: Todd Vierling (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.0.11-33892-106280.17.6407478352545@perl.org>
(except the Configure chunk)
(and bump version numbers of modules)
p4raw-id: //depot/perl@23849
Diffstat (limited to 'lib/ExtUtils/MM_Unix.pm')
-rw-r--r-- | lib/ExtUtils/MM_Unix.pm | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/ExtUtils/MM_Unix.pm b/lib/ExtUtils/MM_Unix.pm index 33bb5dc1f6..678c441fae 100644 --- a/lib/ExtUtils/MM_Unix.pm +++ b/lib/ExtUtils/MM_Unix.pm @@ -13,14 +13,14 @@ use DirHandle; use vars qw($VERSION @ISA $Is_OS2 $Is_VMS $Is_Win32 $Is_Win95 $Is_Dos $Is_VOS $Is_QNX $Is_AIX $Is_OSF $Is_IRIX $Is_NetBSD $Is_BSD - $Is_SunOS4 $Is_Solaris $Is_SunOS + $Is_SunOS4 $Is_Solaris $Is_SunOS $Is_Interix $Verbose %pm %Config_Override ); use ExtUtils::MakeMaker qw($Verbose neatvalue); -$VERSION = '1.46'; +$VERSION = '1.46_01'; require ExtUtils::MM_Any; @ISA = qw(ExtUtils::MM_Any); @@ -36,10 +36,11 @@ $Is_AIX = $^O eq 'aix'; $Is_OSF = $^O eq 'dec_osf'; $Is_IRIX = $^O eq 'irix'; $Is_NetBSD = $^O eq 'netbsd'; +$Is_Interix = $^O eq 'interix'; $Is_SunOS4 = $^O eq 'sunos'; $Is_Solaris = $^O eq 'solaris'; $Is_SunOS = $Is_SunOS4 || $Is_Solaris; -$Is_BSD = $^O =~ /^(?:free|net|open)bsd|bsdos$/; +$Is_BSD = $^O =~ /^(?:free|net|open)bsd|bsdos|interix$/; =head1 NAME @@ -1084,7 +1085,7 @@ $(INST_DYNAMIC): $(OBJECT) $(MYEXTLIB) $(BOOTSTRAP) blibdirs.ts $(EXPORT_LIST) $ my $libs = '$(LDLOADLIBS)'; - if ($Is_NetBSD && $Config{'useshrplib'}) { + if (($Is_NetBSD || $Is_Interix) && $Config{'useshrplib'}) { # Use nothing on static perl platforms, and to the flags needed # to link against the shared libperl library on shared perl # platforms. We peek at lddlflags to see if we need -Wl,-R |