PageRenderTime 42ms CodeModel.GetById 39ms app.highlight 1ms RepoModel.GetById 0ms app.codeStats 1ms

/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
 1--- Makefile.PL.orig	Tue Jul 22 00:32:49 2008
 2+++ Makefile.PL	Tue Jul 22 00:49:10 2008
 3@@ -190,8 +190,19 @@
 4 
 5 =cut
 6 
 7+package MY;
 8+use Config;
 9+
10+sub dynamic_lib {
11+	my $inherited = shift->SUPER::dynamic_lib(@_);
12+	$inherited .= "\tdlltool --input-def Glib.def --dllname Glib.dll \\\n";
13+	$inherited .= "\t\t--output-lib libGlibPerl.a\n";
14+	$inherited .= "\t\$(CP) libGlibPerl.a " . $Config{libpth} . "\n";
15+	return $inherited;
16+}
17+
18 # rule to build the documentation
19-sub MY::postamble
20+sub postamble
21 {
22 	require 'MakeHelper.pm';
23 	# $glib will be undefined if any of our dependencies couldn't be found;