summaryrefslogtreecommitdiff
path: root/glib/meson.build
diff options
context:
space:
mode:
authorXavier Claessens <xavier.claessens@collabora.com>2018-01-04 15:55:59 -0500
committerXavier Claessens <xavier.claessens@collabora.com>2018-03-28 19:31:25 -0400
commitdad4f956c576a6f4234f3228b07679dcd7d37550 (patch)
tree239df68bb76f73acf3a16b931c5ef84115c960eb /glib/meson.build
parent3c76114e73fb98a01403b2349a600161d362e5fe (diff)
downloadglib-dad4f956c576a6f4234f3228b07679dcd7d37550.tar.gz
Meson: Add carbon and cocoa flags into glib and gio pc files
https://bugzilla.gnome.org/show_bug.cgi?id=788773
Diffstat (limited to 'glib/meson.build')
-rw-r--r--glib/meson.build3
1 files changed, 2 insertions, 1 deletions
diff --git a/glib/meson.build b/glib/meson.build
index 3b4caf8ce..9d186201d 100644
--- a/glib/meson.build
+++ b/glib/meson.build
@@ -234,7 +234,7 @@ libglib = library('glib-2.0',
soversion : soversion,
install : true,
# intl.lib is not compatible with SAFESEH
- link_args : platform_ldflags + noseh_link_args,
+ link_args : noseh_link_args,
include_directories : configinc,
link_with : [charset_lib, gnulib_lib],
dependencies : [pcre, thread_dep, libintl, librt] + libiconv + platform_deps,
@@ -250,6 +250,7 @@ libglib_dep = declare_dependency(
include_directories : [configinc, glibinc])
pkg.generate(libraries : libglib,
+ libraries_private : [osx_ldflags],
subdirs : ['glib-2.0'],
extra_cflags : ['-I${libdir}/glib-2.0/include'],
variables : ['bindir=' + join_paths('${prefix}', get_option('bindir')),