Add env() method to create environments. Process all environments created at build script top level before executing any autoconf-enabled tasks, or if no tasks are specified by the user.
5 lines
120 B
Ruby
5 lines
120 B
Ruby
env(echo: :command) do |env|
|
|
env["ARCMD"] = %w[ar rcf ${_TARGET} ${_SOURCES}]
|
|
env.Library("lib.a", glob("*.c"))
|
|
end
|