Ticket #1938: possible-fix-for-boost-with-and-without-mt.patch
File possible-fix-for-boost-with-and-without-mt.patch, 1.0 KB (added by , 11 years ago) |
---|
-
trunk/build/premake/extern_libs4.lua
a b 242 242 -- The following are not strictly link dependencies on all systems, but 243 243 -- are included for compatibility with different versions of Boost 244 244 android_names = { "boost_filesystem-gcc-mt", "boost_system-gcc-mt" }, 245 unix_names = { "boost_filesystem-mt", "boost_system-mt" },245 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" }, 246 246 bsd_names = { "boost_filesystem", "boost_system" }, 247 247 }) 248 248 end, … … 251 251 link_settings = function() 252 252 add_default_links({ 253 253 android_names = { "boost_signals-gcc-mt" }, 254 unix_names = { "boost_signals-mt" },254 unix_names = { os.findlib("boost_signals-mt") and "boost_signals-mt" or "boost_signals" }, 255 255 bsd_names = { "boost_signals" }, 256 256 }) 257 257 end,