Skip to content

Commit

Permalink
fix shared
Browse files Browse the repository at this point in the history
  • Loading branch information
star-hengxing committed May 23, 2024
1 parent 579f43c commit 712842a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/p/promise-cpp/port/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ target("promise-cpp")
add_includedirs(".", "include")
add_headerfiles("include/(**.hpp)", "(add_ons/**.hpp)")

if is_kind("shared") then
if is_plat("windows") and is_kind("shared") then
add_defines("PROMISE_BUILD_SHARED")
end

0 comments on commit 712842a

Please sign in to comment.