[cairo-commit] rcairo ChangeLog,1.210,1.211 extconf.rb,1.8,1.9

Kouhei Sutou commit at pdx.freedesktop.org
Thu Apr 3 20:40:21 PDT 2008


Committed by: kou

Update of /cvs/cairo/rcairo
In directory kemper:/tmp/cvs-serv1284

Modified Files:
	ChangeLog extconf.rb 
Log Message:
* extconf.rb: fix object file extension substitution.


Index: ChangeLog
===================================================================
RCS file: /cvs/cairo/rcairo/ChangeLog,v
retrieving revision 1.210
retrieving revision 1.211
diff -u -d -r1.210 -r1.211
--- ChangeLog	4 Apr 2008 03:17:53 -0000	1.210
+++ ChangeLog	4 Apr 2008 03:44:27 -0000	1.211
@@ -1,5 +1,7 @@
 2008-04-04  Kouhei Sutou  <kou at cozmixng.org>
 
+	* extconf.rb: fix object file extension substitution.
+
 	* pkg-config.rb: detect MSVC environment.
 
 	* pkg-config.rb: handle DL error.

Index: extconf.rb
===================================================================
RCS file: /cvs/cairo/rcairo/extconf.rb,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- extconf.rb	24 Feb 2008 07:26:52 -0000	1.8
+++ extconf.rb	4 Apr 2008 03:44:27 -0000	1.9
@@ -117,7 +117,7 @@
   if co and !objs.empty?
     f.puts
     objs.each do |obj|
-      f.puts "#{obj}: $(srcdir)/#{File.basename(obj).sub(/.o$/, '.c')}"
+      f.puts "#{obj}: $(srcdir)/#{File.basename(obj).sub(/\..+?$/, '.c')}"
       f.puts co
     end
   end



More information about the cairo-commit mailing list