summaryrefslogtreecommitdiff
path: root/tests/projects
diff options
context:
space:
mode:
authorruki <[email protected]>2024-09-12 22:36:09 +0800
committerruki <[email protected]>2024-09-12 22:36:09 +0800
commite962066eca9967087a9a4495cf6a82fb2b4bd367 (patch)
tree71519af3d609c701f8a46a2f2b1341b5563d84c1 /tests/projects
parent9e70298e25cde32fdde0cae65f4977a096eabfa7 (diff)
improve export all #5601
Diffstat (limited to 'tests/projects')
-rw-r--r--tests/projects/c++/shared_library_export_all/xmake.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/projects/c++/shared_library_export_all/xmake.lua b/tests/projects/c++/shared_library_export_all/xmake.lua
index 73159d4b5..50043a52a 100644
--- a/tests/projects/c++/shared_library_export_all/xmake.lua
+++ b/tests/projects/c++/shared_library_export_all/xmake.lua
@@ -8,7 +8,7 @@ target("foo")
target("bar")
set_kind("shared")
add_files("src/bar.cpp")
- add_rules("utils.symbols.export_all", {export_filter = function (symbol)
+ add_rules("utils.symbols.export_all", {export_filter = function (symbol, opt)
if symbol:find("add", 1, true) then
return true
end