[libsoup] meson: Add missing native: kwarg to add_languages()



commit 5280e936d0a76f94dbc5d8489cfbdc0a06343f65
Author: Nirbheek Chauhan <nirbheek centricular com>
Date:   Fri Mar 25 23:37:32 2022 +0530

    meson: Add missing native: kwarg to add_languages()
    
    Fixes a warning:
    meson.build:377: WARNING: add_languages is missing native:, assuming languages are wanted for both host 
and build.

 meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index 74273e6e..aae9bb0a 100644
--- a/meson.build
+++ b/meson.build
@@ -374,7 +374,7 @@ enable_introspection = gir.found()
 # Vala API #
 ############
 vapi_opt = get_option('vapi')
-enable_vapi = add_languages('vala', required: vapi_opt)
+enable_vapi = add_languages('vala', required: vapi_opt, native: false)
 if enable_vapi and not enable_introspection
   enable_vapi = false
   if vapi_opt.enabled()


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]