<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -33,4 +33,5 @@ if CONFIG['arch'] =~ /(mswin|mingw)/i then
   CONFIG['debugflags'] = CONFIG['debugflags'].gsub(/-g/,'') if CONFIG['debugflags']
   CONFIG['warnflags'] = CONFIG['warnflags'].gsub(/-Wall/,'') if CONFIG['warnflags']
 end
-create_makefile('amalgalite/amalgalite3')
+subdir = RUBY_VERSION.sub(/\.\d$/,'')
+create_makefile(&quot;amalgalite/#{subdir}/amalgalite3&quot;)</diff>
      <filename>ext/amalgalite/extconf.rb</filename>
    </modified>
    <modified>
      <diff>@@ -16,12 +16,11 @@ module Amalgalite
   class Error &lt; ::StandardError; end
 end
 
-# support for fat binaries on windows
-if RUBY_PLATFORM =~ /(mswin|mingw)/i then
-  require &quot;amalgalite/#{RUBY_VERSION.sub(/\.\d$/,'')}/amalgalite3&quot;
-else
-  require &quot;amalgalite/amalgalite3&quot;
-end
+# use a version subdirectory for extensions, initially to support windows, but
+# why make a special case, it doesn't hurt anyone to have an extra subdir
+# someplace 
+require &quot;amalgalite/#{RUBY_VERSION.sub(/\.\d$/,'')}/amalgalite3&quot;
+
 require 'amalgalite/aggregate'
 require 'amalgalite/blob'
 require 'amalgalite/boolean'</diff>
      <filename>lib/amalgalite.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>e8272b65be17d103a3bf9b73a751a02460f6d965</id>
    </parent>
  </parents>
  <author>
    <name>Jeremy Hinegardner</name>
    <email>jeremy@hinegardner.org</email>
  </author>
  <url>http://github.com/copiousfreetime/amalgalite/commit/34915a7eadfc858568b7f8f47b262d682f2d5a87</url>
  <id>34915a7eadfc858568b7f8f47b262d682f2d5a87</id>
  <committed-date>2009-07-03T10:36:53-07:00</committed-date>
  <authored-date>2009-07-03T10:36:53-07:00</authored-date>
  <message>Use a version subdirectory on every platform</message>
  <tree>df382c882b08aa923d34f03838a421c0acfe0bc4</tree>
  <committer>
    <name>Jeremy Hinegardner</name>
    <email>jeremy@hinegardner.org</email>
  </committer>
</commit>
