Assimp: add advapi32 syslink (#805)

pull/808/head
Jérôme Leclercq 3 years ago committed by GitHub
parent 5afa4f3aba
commit cb96164cf3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      packages/a/assimp/xmake.lua

@ -30,6 +30,10 @@ package("assimp")
add_deps("cmake", "irrxml", "zlib")
if is_plat("windows") then
add_syslinks("advapi32")
end
on_load(function (package)
if is_plat("linux") and package:config("shared") then
package:add("ldflags", "-Wl,--as-needed," .. package:installdir("lib", "libassimp.so"))

Loading…
Cancel
Save