- Fix build with Boost 1.89.0 (Boost.System is headers only since 1.69.0) + 0002-remove-boost-system-library.patch OBS-URL: https://build.opensuse.org/request/show/1305929 OBS-URL: https://build.opensuse.org/package/show/games/0ad?expand=0&rev=156
17 lines
962 B
Diff
17 lines
962 B
Diff
diff -purN a/build/premake/extern_libs5.lua b/build/premake/extern_libs5.lua
|
|
--- a/build/premake/extern_libs5.lua 2025-07-14 16:31:46.000000000 +0200
|
|
+++ b/build/premake/extern_libs5.lua 2025-09-18 20:38:10.348786852 +0200
|
|
@@ -248,9 +248,9 @@ extern_lib_defs = {
|
|
add_default_links({
|
|
-- The following are not strictly link dependencies on all systems, but
|
|
-- are included for compatibility with different versions of Boost
|
|
- android_names = { "boost_filesystem-gcc-mt", "boost_system-gcc-mt" },
|
|
- unix_names = { os.findlib("boost_filesystem-mt") and "boost_filesystem-mt" or "boost_filesystem", os.findlib("boost_system-mt") and "boost_system-mt" or "boost_system" },
|
|
- osx_names = { "boost_filesystem", "boost_system" },
|
|
+ android_names = { "boost_filesystem-gcc-mt" },
|
|
+ unix_names = { os.findlib("boost_filesystem-mt") and "boost_filesystem-mt" or "boost_filesystem" },
|
|
+ osx_names = { "boost_filesystem" },
|
|
})
|
|
end,
|
|
},
|