allow override ar arguments

This commit is contained in:
Andrey Kunitsyn 2016-06-03 18:00:14 +03:00
parent bf4bf55d11
commit 65ced6a6b0

View File

@ -445,7 +445,7 @@
if cfg.architecture == premake.UNIVERSAL then
_p(' LINKCMD = libtool -o "$@" $(OBJECTS)')
else
_p(' LINKCMD = $(AR) -rcs "$@" $(OBJECTS)')
_p(' LINKCMD = $(AR) ' .. (toolset.arargs or '-rcs') ..' "$@" $(OBJECTS)')
end
elseif cfg.kind == premake.UTILITY then
-- Empty LINKCMD for Utility (only custom build rules)