[gtksourceview: 2/4] Meson: Respect --default-library option
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview: 2/4] Meson: Respect --default-library option
- Date: Tue, 9 Mar 2021 02:48:50 +0000 (UTC)
commit 11baae95cbe0e2765e003777b1acc0d596b0e47c
Author: Xavier Claessens <xavier claessens collabora com>
Date: Fri Apr 24 11:46:28 2020 -0400
Meson: Respect --default-library option
By using shared_library() we force build of only a shared library,
change it to library() to build static, shared or both depending on what
user asked in build options.
gtksourceview/meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtksourceview/meson.build b/gtksourceview/meson.build
index a0ec23ad..c7c907a9 100644
--- a/gtksourceview/meson.build
+++ b/gtksourceview/meson.build
@@ -240,7 +240,7 @@ extra_public_sources = []
subdir('completion-providers')
-gtksource_lib = shared_library(package_string,
+gtksource_lib = library(package_string,
version: lib_version,
darwin_versions: lib_osx_version,
include_directories: gtksourceview_include_dirs,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]