Author: Paul Gevers Description: With gcc-16 it seems we need to link m explicitly Forwarded: not yet Index: libimage-scale-perl/Makefile.PL =================================================================== --- libimage-scale-perl.orig/Makefile.PL +++ libimage-scale-perl/Makefile.PL @@ -18,6 +18,9 @@ my $DEFINES = '-O2'; $DEFINES .= ' -Wall' unless $^O =~ /sun|solaris/i; $DEFINES .= ' -Wno-unused-value -Wno-format-security -Winline -ffast-math' unless $^O =~ /Win32|sun|solaris/i; +# with gcc-16, it seems we need to link with m; see bug 1143758 +push @LIBS, '-lm'; + if ( $^O !~ /Win32/i ) { # Check for Sparc ReadyNAS to enable ASM code if ( -e '/etc/raidiator_version' ) {