mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-25 07:08:13 -07:00
Used math functions without to the math library. Do some fixups while revbumping. Closes: https://bugs.gentoo.org/969792 Signed-off-by: Alfred Wingate <parona@protonmail.com> Part-of: https://github.com/gentoo/gentoo/pull/45698 Closes: https://github.com/gentoo/gentoo/pull/45698 Signed-off-by: Sam James <sam@gentoo.org>
19 lines
401 B
Diff
19 lines
401 B
Diff
https://bugs.gentoo.org/969792
|
|
|
|
diff --git a/Makefile.PL b/Makefile.PL
|
|
index ff8f585..67e7371 100644
|
|
--- a/Makefile.PL
|
|
+++ b/Makefile.PL
|
|
@@ -74,6 +74,10 @@ if ( $^O =~ /Win32/i ) {
|
|
push @check, '../lpng143';
|
|
push @check, '../giflib-4.1.6/lib';
|
|
}
|
|
+else {
|
|
+ # Needed to link math functions on POSIX
|
|
+ push @LIBS, '-lm';
|
|
+}
|
|
|
|
# Look for libjpeg
|
|
for my $incdir ( $jpeg_inc, @check ) {
|
|
|