mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-09 22:38:06 -05:00
only add pthreads linking when on linux
This commit is contained in:
@ -11,11 +11,14 @@ end
|
||||
|
||||
function ZoneLoading:link(links)
|
||||
links:add(self:name())
|
||||
links:add("pthread")
|
||||
links:linkto(Crypto)
|
||||
links:linkto(Utils)
|
||||
links:linkto(ZoneCommon)
|
||||
links:linkto(zlib)
|
||||
|
||||
if os.host() == "linux" then
|
||||
links:add("pthread")
|
||||
end
|
||||
end
|
||||
|
||||
function ZoneLoading:use()
|
||||
|
Reference in New Issue
Block a user