pull/217/head
ruki 4 years ago
parent 5f8bf90b9d
commit a172a7e4e7
No known key found for this signature in database
GPG Key ID: 809EF06AD42725BD
  1. 2
      packages/l/libflac/xmake.lua

@ -39,7 +39,7 @@ package("libflac")
-- @see https://github.com/msys2/MINGW-packages/issues/5803
if package:config("shared") and package:is_plat("mingw") then
io.replace("CMakeLists.txt", "add_definitions(-DHAVE_CONFIG_H)", "add_definitions(-DHAVE_CONFIG_H -D_FORTIFY_SOURCE=0)", {plain = true})
end
end
-- we pass libogg as packagedeps instead of findOgg.cmake (it does not work)
local libogg = package:dep("libogg"):fetch()

Loading…
Cancel
Save