diff options
| author | ruki <[email protected]> | 2025-01-24 22:45:58 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2025-01-24 22:45:58 +0800 |
| commit | 1f59ab2428339916eafc2bdc1350641cc1c4f6d3 (patch) | |
| tree | 27c03e7f47ba77018516d91e0d63421b1fdf4f7d /xmake/modules/core/tools/ar6x.lua | |
| parent | dbaf52568f4bb1152ad7123917a98b52f60adaa6 (diff) | |
support static libs
Diffstat (limited to 'xmake/modules/core/tools/ar6x.lua')
| -rw-r--r-- | xmake/modules/core/tools/ar6x.lua | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/xmake/modules/core/tools/ar6x.lua b/xmake/modules/core/tools/ar6x.lua new file mode 100644 index 000000000..455b7dd1e --- /dev/null +++ b/xmake/modules/core/tools/ar6x.lua @@ -0,0 +1,27 @@ +--!A cross-platform build utility based on Lua +-- +-- Licensed under the Apache License, Version 2.0 (the "License"); +-- you may not use this file except in compliance with the License. +-- You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. +-- +-- Copyright (C) 2015-present, TBOOX Open Source Group. +-- +-- @author ruki +-- @file ar6x.lua +-- + +inherit("ar") + +-- init it +function init(self) + self:set("arflags", "-r") +end + |
