[vala/wip/ci: 2/8] meson: Allow static builds
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/wip/ci: 2/8] meson: Allow static builds
- Date: Fri, 28 Jan 2022 08:09:30 +0000 (UTC)
commit f77ab0800be7c02b50c18c98e5265ac41cdd32d6
Author: Ole André Vadla Ravnås <oleavr gmail com>
Date: Tue Jul 31 02:17:55 2018 +0200
meson: Allow static builds
By using `library()` instead of hard-coding `shared_library()`.
codegen/meson.build | 2 +-
libvaladoc/meson.build | 2 +-
vala/meson.build | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/codegen/meson.build b/codegen/meson.build
index 6a8520e92..59142caf0 100644
--- a/codegen/meson.build
+++ b/codegen/meson.build
@@ -32,7 +32,7 @@ valacodegen_sources = files(
'valatyperegisterfunction.vala',
)
-valacodegen_lib = shared_library(
+valacodegen_lib = library(
'valacodegen',
valacodegen_sources,
dependencies: [gobject_dep, valacore_dep, valaccode_dep],
diff --git a/libvaladoc/meson.build b/libvaladoc/meson.build
index 9a67c7b6e..f250fabd3 100644
--- a/libvaladoc/meson.build
+++ b/libvaladoc/meson.build
@@ -129,7 +129,7 @@ libvaladoc_sources = files(
'taglets/tagletthrows.vala',
)
-libvaladoc_lib = shared_library(
+libvaladoc_lib = library(
'valadoc@0@'.format(vala_version_suffix),
libvaladoc_sources,
dependencies: [gmodule_dep, valacore_dep, valacodegen_dep, libgvc_dep],
diff --git a/vala/meson.build b/vala/meson.build
index ead4400fc..3352df20c 100644
--- a/vala/meson.build
+++ b/vala/meson.build
@@ -172,7 +172,7 @@ valaversion_source = vcs_tag(
output: 'valaversion.vala',
)
-valacore_lib = shared_library(
+valacore_lib = library(
'vala@0@'.format(vala_version_suffix),
valacore_sources,
valaversion_source,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]