[gtk+] build: Use the common linker flags in GDK and GSK
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] build: Use the common linker flags in GDK and GSK
- Date: Wed, 3 May 2017 14:30:41 +0000 (UTC)
commit e18d9a85cae81a06a5c8106bf41562487a62610a
Author: Emmanuele Bassi <ebassi gnome org>
Date: Tue Apr 18 15:16:28 2017 +0100
build: Use the common linker flags in GDK and GSK
Instead of hard-coding `-Bsymbolic`.
gdk/meson.build | 5 +++--
gsk/meson.build | 2 +-
2 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/gdk/meson.build b/gdk/meson.build
index 685d854..1553f5e 100644
--- a/gdk/meson.build
+++ b/gdk/meson.build
@@ -198,10 +198,11 @@ endforeach
# FIXME: might have to add '-xobjective-c' to c_args for quartz backend?
libgdk = static_library('gdk',
sources: [gdk_sources, gdk_backends_gen_headers, gdkconfig],
- c_args: ['-DGDK_COMPILATION', '-DG_LOG_DOMAIN="Gdk"'] + common_cflags,
+ dependencies: gdk_deps,
include_directories: [confinc, xinc, wlinc],
+ c_args: ['-DGDK_COMPILATION', '-DG_LOG_DOMAIN="Gdk"'] + common_cflags,
link_with: gdk_backends,
- dependencies: gdk_deps)
+ link_args: common_ldflags)
# We don't have link_with: to internal static libs here on purpose, just
# list the dependencies and generated headers and such, for use in the
diff --git a/gsk/meson.build b/gsk/meson.build
index 3ebcda9..2842012 100644
--- a/gsk/meson.build
+++ b/gsk/meson.build
@@ -159,7 +159,7 @@ libgsk = static_library('gsk',
include_directories: [confinc],
c_args: ['-DGSK_COMPILATION', '-DG_LOG_DOMAIN="Gsk"'] + common_cflags,
link_with: libgdk,
- link_args: ['-Bsymbolic'])
+ link_args: common_ldflags)
# We don't have link_with: to internal static libs here on purpose, just
# list the dependencies and generated headers and such, for use in the
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]