--- Gtk2-1.140/Makefile.PL 2006-09-04 20:37:04.000000000 +0200 +++ rcs/gtk2-perl-xs/Gtk2/Makefile.PL 2006-09-13 16:57:40.000000000 +0200 @@ -15,7 +15,7 @@ # along with this library; if not, write to the Free Software Foundation, Inc., # 59 Temple Place - Suite 330, Boston, MA 02111-1307 USA. # -# $Header: /cvsroot/gtk2-perl/gtk2-perl-xs/Gtk2/Makefile.PL,v 1.124 2006/09/04 18:37:04 kaffeetisch Exp $ +# $Header: /cvsroot/gtk2-perl/gtk2-perl-xs/Gtk2/Makefile.PL,v 1.125 2006/09/13 14:57:40 kaffeetisch Exp $ # use 5.008; @@ -341,6 +341,8 @@ # and find the actual Glib.dll and Glib.lib installed by perl when # the Glib module was built, and add it to the list of lib files. # + # when we depend on Cairo, the same applies to Cairo.lib. + # # say it with me: "i hate win32." my $retstring = ""; @@ -349,6 +351,10 @@ find (sub { $retstring .= " ".$File::Find::name if /Glib.lib/i; + if ($have_cairo) { + $retstring .= " ".$File::Find::name + if /Cairo.lib/i; + } }, @INC); return $retstring;