[gcab/wip/hughsie/subproject: 2/2] Allow compiling as a subproject
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gcab/wip/hughsie/subproject: 2/2] Allow compiling as a subproject
- Date: Thu, 21 Nov 2019 16:34:23 +0000 (UTC)
commit bf45d3dcdb1f12fbff3e51d12aefdd2c41d7091a
Author: Richard Hughes <richard hughsie com>
Date: Thu Nov 21 16:33:57 2019 +0000
Allow compiling as a subproject
This means we can compile gcab as a dep to projects like fwupd when the system
version is missing or too old.
meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index 547de63..8e28381 100644
--- a/meson.build
+++ b/meson.build
@@ -86,7 +86,7 @@ foreach arg: test_link_args
global_link_args += arg
endif
endforeach
-add_global_link_arguments(
+add_project_link_arguments(
global_link_args,
language: 'c'
)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]