/build-extras/2008.1-odin/Glib-Makefile.PL.diff
https://code.google.com/p/camelbox/ · text · 23 lines · 21 code · 2 blank · 0 comment · 0 complexity · 598da719812920cc95b073e179c342d7 MD5 · raw file
- --- Makefile.PL.orig Tue Jul 22 00:32:49 2008
- +++ Makefile.PL Tue Jul 22 00:49:10 2008
- @@ -190,8 +190,19 @@
-
- =cut
-
- +package MY;
- +use Config;
- +
- +sub dynamic_lib {
- + my $inherited = shift->SUPER::dynamic_lib(@_);
- + $inherited .= "\tdlltool --input-def Glib.def --dllname Glib.dll \\\n";
- + $inherited .= "\t\t--output-lib libGlibPerl.a\n";
- + $inherited .= "\t\$(CP) libGlibPerl.a " . $Config{libpth} . "\n";
- + return $inherited;
- +}
- +
- # rule to build the documentation
- -sub MY::postamble
- +sub postamble
- {
- require 'MakeHelper.pm';
- # $glib will be undefined if any of our dependencies couldn't be found;