diff options
author | Peter John Acklam <pjacklam@online.no> | 2018-01-07 08:28:58 -0500 |
---|---|---|
committer | James E Keenan <jkeenan@cpan.org> | 2018-01-07 08:28:58 -0500 |
commit | 291c057a714c4bb419e91e8b00039d61390c42f9 (patch) | |
tree | 3cab7c06dbd0324a5f0701c990a0d5afff5a7b51 /ext/POSIX | |
parent | a33b278ed39a785690da6bce866fc02aa63eaaaf (diff) | |
download | perl-291c057a714c4bb419e91e8b00039d61390c42f9.tar.gz |
Facilitate building with quadmath on Cygwin.
For: RT # 128627
Diffstat (limited to 'ext/POSIX')
-rw-r--r-- | ext/POSIX/Makefile.PL | 3 |
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) ] ) : (), |