[cairo-commit] rcairo extconf.rb,1.12,1.13

Kouhei Sutou commit at pdx.freedesktop.org
Thu Apr 3 21:30:01 PDT 2008


Committed by: kou

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

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


Index: extconf.rb
===================================================================
RCS file: /cvs/cairo/rcairo/extconf.rb,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- extconf.rb	4 Apr 2008 04:32:11 -0000	1.12
+++ extconf.rb	4 Apr 2008 04:34:06 -0000	1.13
@@ -118,7 +118,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