Skip to content

Commit

Permalink
Add pthread syslink for Linux and BSD platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
Doekin committed Oct 6, 2024
1 parent e9d78bc commit 4000cab
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/p/pcapplusplus/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ package("pcapplusplus")
add_syslinks("ws2_32", "iphlpapi")
elseif is_plat("macosx") then
add_frameworks("CoreFoundation", "SystemConfiguration")
elseif is_plat("linux", "bsd") then
add_syslinks("pthread")
end

add_deps("cmake")
Expand Down

0 comments on commit 4000cab

Please sign in to comment.