mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
meson.build: Link with crypt32 on Windows for httplib
This commit is contained in:
committed by
mborgerson
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',
|
||||
|
||||
Vendored
+1
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user