summaryrefslogtreecommitdiff
path: root/win32/ext
diff options
context:
space:
mode:
authorJan Dubois <jand@activestate.com>2006-12-06 08:26:38 -0800
committerSteve Hay <SteveHay@planit.com>2006-12-07 08:53:15 +0000
commit753c3620c0b8f667209c768cc917ce9dde3b23ce (patch)
treedbc16cf36fda874eaa6818b183a28e92abab153e /win32/ext
parentbd95ae50406ae1b55da3f57111cd4644d9d82c6a (diff)
downloadperl-753c3620c0b8f667209c768cc917ce9dde3b23ce.tar.gz
Makefile.PL changes to compiler Win32.xs using cygwin
Message-ID: <5nnen2p2h4lhremj0qf1tmpkl0asvk87hr@4ax.com> p4raw-id: //depot/perl@29481
Diffstat (limited to 'win32/ext')
-rw-r--r--win32/ext/Win32/Makefile.PL8
1 files changed, 6 insertions, 2 deletions
diff --git a/win32/ext/Win32/Makefile.PL b/win32/ext/Win32/Makefile.PL
index c167ab3704..b6f5744f10 100644
--- a/win32/ext/Win32/Makefile.PL
+++ b/win32/ext/Win32/Makefile.PL
@@ -1,6 +1,10 @@
use ExtUtils::MakeMaker;
+my @libs;
+push @libs, '-L/lib/w32api -lole32 -lversion' if $^O eq "cygwin";
+
WriteMakefile(
- NAME => 'Win32',
- VERSION_FROM => 'Win32.pm',
+ NAME => 'Win32',
+ VERSION_FROM => 'Win32.pm',
+ LIBS => \@libs,
);