Skip to content

Commit ad6ab87

Browse files
poco: fix symbol export macro (#8466)
1 parent 06fee0f commit ad6ab87

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/p/poco/xmake.lua

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,10 @@ package("poco")
9797
package:add("deps", "aprutil")
9898
package:add("deps", "apache2")
9999
end
100+
101+
if not package:config("shared") then
102+
package:add("defines", "POCO_STATIC")
103+
end
100104
end)
101105

102106
on_check(function (package)

0 commit comments

Comments
 (0)