[gtk-vnc] meson: fix undefined variables for syms files on non-Linux builds
- From: Daniel P. Berrange <dberrange src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk-vnc] meson: fix undefined variables for syms files on non-Linux builds
- Date: Mon, 4 Jan 2021 14:24:51 +0000 (UTC)
commit d195f89a36ef2363a0775a42f8e29938455ab990
Author: Daniel P. Berrangé <dan berrange com>
Date: Mon Jan 4 14:23:37 2021 +0000
meson: fix undefined variables for syms files on non-Linux builds
Even though we don't pass the linker args to use the sym files on
non-Linux, we still reference the syms files as dependencies.
Signed-off-by: Daniel P. Berrangé <berrange redhat com>
src/meson.build | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/meson.build b/src/meson.build
index 6a482b4..d46a621 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -93,8 +93,8 @@ if meson.get_compiler('c').has_link_argument('-Wl,--no-undefined')
gvnc_link_args += ['-Wl,--no-undefined']
endif
+gvnc_syms = join_paths(meson.current_source_dir(), 'libgvnc_sym.version')
if host_machine.system() == 'linux'
- gvnc_syms = join_paths(meson.current_source_dir(), 'libgvnc_sym.version')
gvnc_link_args += ['-Wl,--version-script,' + gvnc_syms]
endif
@@ -183,8 +183,8 @@ if libpulse_dep.found()
gvncpulse_link_args += ['-Wl,--no-undefined']
endif
+ gvncpulse_syms = join_paths(meson.current_source_dir(), 'libgvncpulse_sym.version')
if host_machine.system() == 'linux'
- gvncpulse_syms = join_paths(meson.current_source_dir(), 'libgvncpulse_sym.version')
gvncpulse_link_args += ['-Wl,--version-script,' + gvncpulse_syms]
endif
@@ -343,8 +343,8 @@ if meson.get_compiler('c').has_link_argument('-Wl,--no-undefined')
gtk_vnc_link_args += ['-Wl,--no-undefined']
endif
+gtk_vnc_syms = join_paths(meson.current_source_dir(), 'libgtk-vnc_sym.version')
if host_machine.system() == 'linux'
- gtk_vnc_syms = join_paths(meson.current_source_dir(), 'libgtk-vnc_sym.version')
gtk_vnc_link_args += ['-Wl,--version-script,' + gtk_vnc_syms]
endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]