diff --git a/meson.build b/meson.build index deac47d6..b6e179c2 100644 --- a/meson.build +++ b/meson.build @@ -63,8 +63,8 @@ if not get_option('source-only') if host_machine.system() == 'windows' # Note that we need to explicitly add the windows socket DLL because # the pkg-config file from reproc does not include it. - lite_deps += meson.get_compiler('cpp').find_library('ws2_32', required: true) - lite_deps += meson.get_compiler('cpp').find_library('dwmapi', required: true) + lite_deps += meson.get_compiler('c').find_library('ws2_32', required: true) + lite_deps += meson.get_compiler('c').find_library('dwmapi', required: true) endif endif #===============================================================================