mirror of https://github.com/xemu-project/xemu.git
meson.build: Link with crypt32 on Windows for httplib
This commit is contained in:
parent
2c722c8661
commit
8749cb70ca
|
@ -414,6 +414,7 @@ if targetos == 'windows'
|
|||
pathcch = cc.find_library('pathcch')
|
||||
socket = cc.find_library('ws2_32')
|
||||
winmm = cc.find_library('winmm')
|
||||
crypt32 = cc.find_library('crypt32')
|
||||
|
||||
win = import('windows')
|
||||
version_res = win.compile_resources('version.rc',
|
||||
|
|
|
@ -61,7 +61,7 @@ libfpng = static_library('fpng', sources: 'fpng/fpng.cpp', cpp_args: libfpng_cpp
|
|||
fpng = declare_dependency(include_directories: 'fpng', link_with: libfpng)
|
||||
|
||||
json = declare_dependency(include_directories: 'json')
|
||||
httplib = declare_dependency(include_directories: 'httplib')
|
||||
httplib = declare_dependency(include_directories: 'httplib', dependencies: targetos == 'windows' ? [crypt32] : [])
|
||||
|
||||
libfatx = static_library('fatx', sources: 'fatx/fatx.c')
|
||||
fatx = declare_dependency(include_directories: 'fatx', link_with: libfatx)
|
||||
|
|
Loading…
Reference in New Issue