3 Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
4 see https://github.com/lstein/Perl-GD/pull/7
7 ===================================================================
15 @INC = qw(-I/usr/include -I/usr/include/gd) unless @INC;
16 @LIBPATH = qw(-L/usr/lib/X11 -L/usr/X11R6/lib -L/usr/X11/lib -L/usr/lib) unless @LIBPATH;
17 -@LIBS = qw(-lgd) unless @LIBS;
19 # support for AMD64 libraries
20 if (-d '/usr/lib64') {
22 @$LIBPATH = map {s/^-L// && "-L$_"} split /\s+/,$ldflags;
23 @$LIBS = split /\s+/,$libs;
26 push @$LIBPATH,"-L$libdir";
27 ($$lib_gd_path = $libdir) =~ s!/[^/]+$!!;
28 $$options = $features;