[libgda: 1/4] meson: Support Vala compiler specified by VALAC




commit d86ff353344f185864cb7b532e99cf614041cc2c
Author: Chris Mayo <aklhfex gmail com>
Date:   Mon Mar 1 19:17:07 2021 +0000

    meson: Support Vala compiler specified by VALAC
    
    The compiler may be installed as e.g. valac-0.48 to allow multiple
    versions to be installed.

 libgda/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/libgda/meson.build b/libgda/meson.build
index 8f2197a58..7d0a7f00e 100644
--- a/libgda/meson.build
+++ b/libgda/meson.build
@@ -313,7 +313,7 @@ vala_sources += [
 endif
 
 vala_sourcesf = files(vala_sources)
-valac = find_program('valac')
+valac = meson.get_compiler('vala').cmd_array()
 valacs =[]
 foreach v : vala_sources
        vcs = v.split('.')


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