summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2000-01-07 18:23:16 +0000
committerGurusamy Sarathy <gsar@cpan.org>2000-01-07 18:23:16 +0000
commit4fabb5965cb13ba2085b455bf751c89110c43659 (patch)
treec4832b84f0959a8c3e08363d90592f465f6dc0a5 /ext
parent65346fe1a9b07a3de1b94fead7e905d3a8dad1d5 (diff)
downloadperl-4fabb5965cb13ba2085b455bf751c89110c43659.tar.gz
cygwin update (from Eric Fifer <EFifer@sanwaint.com>)
p4raw-id: //depot/perl@4769
Diffstat (limited to 'ext')
-rw-r--r--ext/IPC/SysV/hints/cygwin.pl2
-rw-r--r--ext/NDBM_File/hints/cygwin.pl2
-rw-r--r--ext/ODBM_File/hints/cygwin.pl2
-rw-r--r--ext/POSIX/Makefile.PL4
4 files changed, 7 insertions, 3 deletions
diff --git a/ext/IPC/SysV/hints/cygwin.pl b/ext/IPC/SysV/hints/cygwin.pl
new file mode 100644
index 0000000000..e1a1dea217
--- /dev/null
+++ b/ext/IPC/SysV/hints/cygwin.pl
@@ -0,0 +1,2 @@
+# SysV IPC is an optional Cygwin package
+$self->{LIBS} = ['-lcygipc']
diff --git a/ext/NDBM_File/hints/cygwin.pl b/ext/NDBM_File/hints/cygwin.pl
new file mode 100644
index 0000000000..0a4b7628a4
--- /dev/null
+++ b/ext/NDBM_File/hints/cygwin.pl
@@ -0,0 +1,2 @@
+# uses GDBM ndbm compatibility feature
+$self->{LIBS} = ['-lgdbm'];
diff --git a/ext/ODBM_File/hints/cygwin.pl b/ext/ODBM_File/hints/cygwin.pl
new file mode 100644
index 0000000000..a0d33c8807
--- /dev/null
+++ b/ext/ODBM_File/hints/cygwin.pl
@@ -0,0 +1,2 @@
+# uses GDBM dbm compatibility feature
+$self->{LIBS} = ['-lgdbm'];
diff --git a/ext/POSIX/Makefile.PL b/ext/POSIX/Makefile.PL
index fda7528857..15256cf198 100644
--- a/ext/POSIX/Makefile.PL
+++ b/ext/POSIX/Makefile.PL
@@ -1,9 +1,7 @@
use ExtUtils::MakeMaker;
WriteMakefile(
NAME => 'POSIX',
- ($^O eq 'MSWin32' ? () : ($^O =~ /cygwin/ ? () :
- (LIBS => ["-lm -lposix -lcposix"])
- )),
+ ($^O eq 'MSWin32' ? () : (LIBS => ["-lm -lposix -lcposix"])),
MAN3PODS => {}, # Pods will be built by installman.
XSPROTOARG => '-noprototypes', # XXX remove later?
VERSION_FROM => 'POSIX.pm',