Skip to content

Commit

Permalink
add missing links
Browse files Browse the repository at this point in the history
  • Loading branch information
xq114 committed Sep 27, 2024
1 parent e63878d commit ff176fc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/h/hdf5/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ package("hdf5")
add_configs("cpplib", {description = "Build HDF5 C++ Library", default = false, type = "boolean"})

add_deps("cmake")
if is_plat("linux") then
if is_plat("windows") then
add_syslinks("shlwapi")
elseif is_plat("linux") then
add_syslinks("dl")
end
on_load("windows", "macosx", "linux", function (package)
Expand Down

0 comments on commit ff176fc

Please sign in to comment.