diff options
| author | ruki <[email protected]> | 2024-04-02 23:26:19 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2024-04-02 23:26:19 +0800 |
| commit | 1316dd668d7c2f8b1aa5e6de96b52c86a21e9fe3 (patch) | |
| tree | b6cabb4a1033767b27d76cff727614af376bdf39 /xmake/rules/module/xmake.lua | |
| parent | bf9186ebadd4c83c202d09d03f3da39106de80be (diff) | |
export symbols
Diffstat (limited to 'xmake/rules/module/xmake.lua')
| -rw-r--r-- | xmake/rules/module/xmake.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xmake/rules/module/xmake.lua b/xmake/rules/module/xmake.lua index dd2f810fe..34b3110ec 100644 --- a/xmake/rules/module/xmake.lua +++ b/xmake/rules/module/xmake.lua @@ -27,10 +27,12 @@ rule("module.binary") end) rule("module.shared") + add_deps("utils.symbols.export_all") on_load(function (target) import("core.project.config") target:set("kind", "shared") target:set("basename", "module_" .. target:name()) target:set("targetdir", config.buildir()) + target:set("strip", "none") end) |
