diff options
Diffstat (limited to 'libappstream-glib/meson.build')
-rw-r--r-- | libappstream-glib/meson.build | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/libappstream-glib/meson.build b/libappstream-glib/meson.build index cef815d..715123d 100644 --- a/libappstream-glib/meson.build +++ b/libappstream-glib/meson.build @@ -134,7 +134,13 @@ sources = sources + [astagpriv] install_headers(headers, subdir : 'libappstream-glib') mapfile = 'appstream-glib.map' -vflag = '-Wl,--version-script,@0@/@1@'.format(meson.current_source_dir(), mapfile) +if platform_osx + mapfile = 'appstream-glib.map.osx-clang' + vflag = '-Wl,-exported_symbols_list,@0@/@1@'.format(meson.current_source_dir(), mapfile) +else + vflag = '-Wl,--version-script,@0@/@1@'.format(meson.current_source_dir(), mapfile) +endif + asglib = shared_library( 'appstream-glib', sources, soversion : lt_current, |