Commit e18d9a85 authored by Emmanuele Bassi's avatar Emmanuele Bassi
Browse files

build: Use the common linker flags in GDK and GSK

Instead of hard-coding `-Bsymbolic`.
parent 482f3400
......@@ -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
......
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment