diff options
author | Andy Broad <andy@broad.ology.org.uk> | 2015-09-04 20:56:23 -0400 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2015-09-05 11:12:42 -0400 |
commit | f2bbbc991c18f0c1fb4e31431e69c5c0f6bad12c (patch) | |
tree | 02c57bc20261e359a8076e88ac3ca98d7a1a7478 | |
parent | 6e8fbcb5ca34d11a0e24f8dc9304a8463fc88ca9 (diff) | |
download | perl-f2bbbc991c18f0c1fb4e31431e69c5c0f6bad12c.tar.gz |
amigaos4: do not build Amiga extensions in Win32
Really.
-rw-r--r-- | win32/FindExt.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/win32/FindExt.pm b/win32/FindExt.pm index c0da7ee75b..5f45a73484 100644 --- a/win32/FindExt.pm +++ b/win32/FindExt.pm @@ -5,7 +5,7 @@ our $VERSION = '1.03'; use strict; use warnings; -my $no = join('|',qw(GDBM_File ODBM_File NDBM_File DB_File +my $no = join('|',qw(Amiga.* GDBM_File ODBM_File NDBM_File DB_File VMS.* Sys-Syslog IPC-SysV I18N-Langinfo)); $no = qr/^(?:$no)$/i; @@ -23,6 +23,7 @@ sub apply_config { push @no, "NDBM_File" unless $config->{d_ndbm}; push @no, "ODBM_File" unless ($config->{i_dbm} || $config->{i_rpcsvcdbm}) && !$config->{d_cplusplus}; + push @no, "Amiga.*" unless $^O eq "amigaos"; push @no, "VMS.*" unless $^O eq "VMS"; push @no, "Win32.*" unless $^O eq "MSWin32" || $^O eq "cygwin"; |