[gimp/meson: 53/127] Remove some useless link args
- From: Félix Piédallu <fpiedallu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/meson: 53/127] Remove some useless link args
- Date: Fri, 2 Feb 2018 16:04:12 +0000 (UTC)
commit 26bac326d09eb7d021509fd56b8d9d32e35d49a4
Author: Félix Piédallu <felix piedallu me>
Date: Sat Dec 30 16:01:47 2017 +0100
Remove some useless link args
modules/meson.build | 15 ++++++++++-----
1 files changed, 10 insertions(+), 5 deletions(-)
---
diff --git a/modules/meson.build b/modules/meson.build
index 89c2799..2aadd33 100644
--- a/modules/meson.build
+++ b/modules/meson.build
@@ -56,7 +56,7 @@ modules = [
],
[ 'display-filter-clip-warning',
[ 'display-filter-clip-warning.c', ],
- [], [ display_filter_libs, '-avoid-version', '-module', ],
+ [], [ display_filter_libs, ],
],
[ 'display-filter-color-blind',
[ 'display-filter-color-blind.c', ],
@@ -101,11 +101,16 @@ endif
foreach module : modules
- library(module[0],
- module[1],
+ name = module[0]
+ srcs = module[1]
+ deps = module[2]
+ link = module[3]
+
+ library(name,
+ srcs,
include_directories: rootInclude,
- dependencies: modules_deps + module[2],
- link_with: module[3],
+ dependencies: modules_deps + deps,
+ link_with: link,
install: true,
install_dir: join_paths(gimpplugindir, 'modules'),
)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]