summaryrefslogtreecommitdiff
path: root/ext/POSIX
diff options
context:
space:
mode:
authorPeter John Acklam <pjacklam@online.no>2018-01-07 08:28:58 -0500
committerJames E Keenan <jkeenan@cpan.org>2018-01-07 08:28:58 -0500
commit291c057a714c4bb419e91e8b00039d61390c42f9 (patch)
tree3cab7c06dbd0324a5f0701c990a0d5afff5a7b51 /ext/POSIX
parenta33b278ed39a785690da6bce866fc02aa63eaaaf (diff)
downloadperl-291c057a714c4bb419e91e8b00039d61390c42f9.tar.gz
Facilitate building with quadmath on Cygwin.
For: RT # 128627
Diffstat (limited to 'ext/POSIX')
-rw-r--r--ext/POSIX/Makefile.PL3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/POSIX/Makefile.PL b/ext/POSIX/Makefile.PL
index 6e40f59ab1..1ed4d32982 100644
--- a/ext/POSIX/Makefile.PL
+++ b/ext/POSIX/Makefile.PL
@@ -20,6 +20,9 @@ if ($^O eq 'solaris') {
if ($^O eq 'aix' && $Config{uselongdouble}) {
push @libs, qw(c128);
}
+if ($^O eq 'cygwin' && $Config{usequadmath}) {
+ push @libs, qw(quadmath);
+}
WriteMakefile(
NAME => 'POSIX',
@libs ? ( 'LIBS' => [ join(" ", map { "-l$_" } @libs) ] ) : (),