From 3cf13c45bc90aa7640bdb10067a3cdd7349c7d65 Mon Sep 17 00:00:00 2001 From: Mars Date: Fri, 21 Jun 2024 20:31:12 -0400 Subject: [PATCH] fixed curl --- meson.build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 2f41dc5..c4de06b 100644 --- a/meson.build +++ b/meson.build @@ -14,6 +14,7 @@ cpp = meson.get_compiler('cpp') add_project_arguments( cpp.get_supported_arguments( [ + '-DCURL_STATICLIB', '-Wno-c++20-compat', '-Wno-c++20-extensions', '-Wno-c++98-compat', @@ -42,7 +43,7 @@ foreach file : source_file_names endforeach windows_sdk_lib_dir = 'C:/Program Files (x86)/Windows Kits/10/Lib/10.0.22621.0/um/x64' -link_args = ['-L' + windows_sdk_lib_dir, '-lwindowsapp', '-lcurl'] +link_args = ['-L' + windows_sdk_lib_dir, '-lwindowsapp'] deps = []