Changeset 396 for trunk/Rakefile

Show
Ignore:
Timestamp:
01/08/2008 14:04:55 (8 months ago)
Author:
why
Message:
  • Rakefile: sorry, shoes/version.h needs to write before OBJ.
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/Rakefile

    r395 r396  
    227227  end 
    228228 
    229   task "dist/lib#{SONAME}.dll" => OBJ + ["shoes/version.h"] do |t| 
     229  task "dist/lib#{SONAME}.dll" => ["shoes/version.h"] + OBJ do |t| 
    230230    sh "link #{MSVC_LDFLAGS} /OUT:#{t.name} /dll " + 
    231231      "/LIBPATH:#{ext_ruby}/lib " + 
     
    325325  end 
    326326 
    327   task "dist/lib#{SONAME}.#{DLEXT}" => OBJ + ['shoes/version.h'] do |t| 
     327  task "dist/lib#{SONAME}.#{DLEXT}" => ['shoes/version.h'] + OBJ do |t| 
    328328    ldflags = LINUX_LDFLAGS.sub! /INSTALL_NAME/, "-install_name @executable_path/lib#{SONAME}.#{DLEXT}" 
    329329    sh "#{CC} -o #{t.name} #{OBJ.join(' ')} #{LINUX_LDFLAGS} #{LINUX_LIBS}"