Subject: | RE: Bug #85870 for DBD-Sybase: DBD::Sybase 1.15 OS X bug and resolution |
Date: | Thu, 03 Sep 2015 22:39:08 +0200 |
To: | bug-DBD-Sybase [...] rt.cpan.org |
From: | Jose Palao <jpalao [...] personasytecnicas.com> |
Alternative patch for #85870 bug
Joses-Mac-Pro:Desktop jose$ diff -Naur Makefile.PL Makefile.PL-new
--- Makefile.PL 2015-09-03 22:29:13.000000000 +0200
+++ Makefile.PL-new 2015-09-03 22:29:34.000000000 +0200
@@ -140,7 +140,7 @@
my $libfound = 0;
my $libsub = '';
my @libdir = ( 'lib', 'lib64' );
- if ($^O =~ /win/i) {
+ if ($^O =~ /win/i && $^O !~ /cygwin/i && $^O !~ /darwin/i) {
@libdir = ( 'dll' );
}
foreach $libdir ( @libdir ) {