--- perl-shared/Makefile.PL.in.o	2004-10-27 14:55:36.413765216 +0200
+++ perl-shared/Makefile.PL.in	2004-10-27 14:56:50.447510376 +0200
@@ -12,6 +12,9 @@
     'DEFINE'	   => "-DPERLPATCHLEVEL=$Config{PATCHLEVEL}",
     'INC'          => '-I@top_srcdir@ -I@top_srcdir@/src -I@top_srcdir@/gd1.3',
     'CCFLAGS'      => "$Config{ccflags} -DHAVE_CONFIG_H",
+    'CC'           => '@CC@',
+    'LD'	   => '@CC@',
+    'LDFROM'      => '@LDFLAGS@',
     # where to look for the necessary libraries 
     # Perl will figure out which one is valid
     'depend'	   => {'RRDs.c' => "@top_srcdir@/src/.libs/librrd_private.a"},