Project

Profile

Help

HostedRedmine.com has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. *Read more...*

Feature #870656 ยป 0021-Meson-Link-Windows-libfreeciv-against-ws2_32.patch

Marko Lindqvist, 2020-04-25 09:09 AM

View differences:

meson.build
pub_conf_data.set('FREECIV_HAVE_TINYCTHR', 1)
pub_conf_data.set('FREECIV_HAVE_WINSOCK', 1)
priv_conf_data.set('ALWAYS_ROOT', 1)
ws2_dep = c_compiler.find_library('ws2_32')
else
pub_conf_data.set('FREECIV_HAVE_PTHREAD', 1)
ws2_dep = []
endif
if get_option('cacert-path') != ''
......
c_compiler.find_library('z', dirs: cross_lib_path),
c_compiler.find_library('libcurl', dirs: cross_lib_path),
c_compiler.find_library('libsqlite3', dirs: cross_lib_path),
dependency('threads')],
ws2_dep, dependency('threads')],
install : true
)
    (1-1/1)