[gtk-vnc] src: ensure libraries are rebuilt when syms file changes
- From: Daniel P. Berrange <dberrange src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk-vnc] src: ensure libraries are rebuilt when syms file changes
- Date: Tue, 15 Dec 2020 17:25:15 +0000 (UTC)
commit 285b18786f021154a77722ef3e71c120d50e616f
Author: Daniel P. Berrangé <dan berrange com>
Date: Thu Dec 10 10:37:44 2020 +0000
src: ensure libraries are rebuilt when syms file changes
Signed-off-by: Daniel P. Berrangé <berrange redhat com>
src/meson.build | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/src/meson.build b/src/meson.build
index 1e9cc57..6a482b4 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -94,9 +94,8 @@ if meson.get_compiler('c').has_link_argument('-Wl,--no-undefined')
endif
if host_machine.system() == 'linux'
- gvnc_link_args += ['-Wl,--version-script,@0@/@1@'.format(
- meson.current_source_dir(), 'libgvnc_sym.version')
-]
+ gvnc_syms = join_paths(meson.current_source_dir(), 'libgvnc_sym.version')
+ gvnc_link_args += ['-Wl,--version-script,' + gvnc_syms]
endif
gvnc_deps = [
@@ -122,6 +121,7 @@ gvnc = library(
dependencies: gvnc_deps,
include_directories: gvnc_inc,
link_args: gvnc_link_args,
+ link_depends: gvnc_syms,
version: '0.0.1',
darwin_versions: ['1.0', '1.1'],
soversion: '0',
@@ -184,9 +184,8 @@ if libpulse_dep.found()
endif
if host_machine.system() == 'linux'
- gvncpulse_link_args += ['-Wl,--version-script,@0@/@1@'.format(
- meson.current_source_dir(), 'libgvncpulse_sym.version')
- ]
+ gvncpulse_syms = join_paths(meson.current_source_dir(), 'libgvncpulse_sym.version')
+ gvncpulse_link_args += ['-Wl,--version-script,' + gvncpulse_syms]
endif
gvncpulse_deps = [
@@ -206,6 +205,7 @@ if libpulse_dep.found()
dependencies: gvncpulse_deps,
include_directories: gvncpulse_inc,
link_args: gvncpulse_link_args,
+ link_depends: gvncpulse_syms,
version: '0.0.1',
darwin_versions: ['1.0', '1.1'],
soversion: '0',
@@ -344,9 +344,8 @@ if meson.get_compiler('c').has_link_argument('-Wl,--no-undefined')
endif
if host_machine.system() == 'linux'
- gtk_vnc_link_args += ['-Wl,--version-script,@0@/@1@'.format(
- meson.current_source_dir(), 'libgtk-vnc_sym.version')
-]
+ gtk_vnc_syms = join_paths(meson.current_source_dir(), 'libgtk-vnc_sym.version')
+ gtk_vnc_link_args += ['-Wl,--version-script,' + gtk_vnc_syms]
endif
gtk_vnc_deps = [
@@ -370,6 +369,7 @@ gtk_vnc = library(
dependencies: gtk_vnc_deps,
include_directories: gtk_vnc_inc,
link_args: gtk_vnc_link_args,
+ link_depends: gtk_vnc_syms,
version: '0.0.2',
darwin_versions: ['1.0', '1.2'],
soversion: '0',
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]