[cairo-commit] rcairo ChangeLog,1.218,1.219 extconf.rb,1.16,1.17

Kouhei Sutou commit at pdx.freedesktop.org
Thu Apr 3 22:52:37 PDT 2008


Committed by: kou

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

Modified Files:
	ChangeLog extconf.rb 
Log Message:
* extconf.rb: use search path for nmake.


Index: ChangeLog
===================================================================
RCS file: /cvs/cairo/rcairo/ChangeLog,v
retrieving revision 1.218
retrieving revision 1.219
diff -u -d -r1.218 -r1.219
--- ChangeLog	4 Apr 2008 05:40:53 -0000	1.218
+++ ChangeLog	4 Apr 2008 05:56:43 -0000	1.219
@@ -1,5 +1,7 @@
 2008-04-04  Kouhei Sutou  <kou at cozmixng.org>
 
+	* extconf.rb: use search path for nmake.
+
 	* extconf.rb: add the same directory of extconf.rb to load path.
 
 	* extconf.rb: fix IMPLIB path.

Index: extconf.rb
===================================================================
RCS file: /cvs/cairo/rcairo/extconf.rb,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- extconf.rb	4 Apr 2008 05:40:58 -0000	1.16
+++ extconf.rb	4 Apr 2008 05:56:43 -0000	1.17
@@ -124,9 +124,14 @@
 
   if co and !objs.empty?
     f.puts
-    objs.each do |obj|
-      f.puts "#{obj}: $(srcdir)/#{File.basename(obj).sub(/\..+?$/, '.c')}"
+    if PKGConfig.msvc?
+      f.puts "{$(srcdir)}.c{src}.obj:"
       f.puts co
+    else
+      objs.each do |obj|
+        f.puts "#{obj}: $(srcdir)/#{File.basename(obj).sub(/\..+?$/, '.c')}"
+        f.puts co
+      end
     end
   end
 end



More information about the cairo-commit mailing list