lib/rscons/builders/library.rb in rscons-0.0.14 vs lib/rscons/builders/library.rb in rscons-0.1.0

- old
+ new

@@ -6,11 +6,11 @@ def default_variables(env) { 'AR' => 'ar', 'LIBSUFFIX' => '.a', 'ARFLAGS' => [], - 'ARCOM' => ['$AR', 'rcs', '$ARFLAGS', '$_TARGET', '$_SOURCES'] + 'ARCMD' => ['${AR}', 'rcs', '${ARFLAGS}', '${_TARGET}', '${_SOURCES}'] } end def run(target, sources, cache, env, vars = {}) # build sources to linkable objects @@ -18,10 +18,10 @@ if objects vars = vars.merge({ '_TARGET' => target, '_SOURCES' => objects, }) - command = env.build_command(env['ARCOM'], vars) + command = env.build_command(env['ARCMD'], vars) standard_build("AR #{target}", target, command, objects, env, cache) end end end end