[gexiv2/wip/0.12: 6/6] Do not use linker script on darwin



commit 2bbaab532392e14582c9f0e1fe3eeddd349043dd
Author: Jens Georg <mail jensge org>
Date:   Mon Dec 25 18:41:56 2017 +0100

    Do not use linker script on darwin

 gexiv2/meson.build |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/gexiv2/meson.build b/gexiv2/meson.build
index e3e2d70..934bbd0 100644
--- a/gexiv2/meson.build
+++ b/gexiv2/meson.build
@@ -35,7 +35,11 @@ install_headers(gexiv2_headers, subdir : 'gexiv2')
 
 # Static map file
 mapfile = 'gexiv2.map'
-vflag = '-Wl,--version-script,@0@/@1@'.format(meson.current_source_dir(), mapfile)
+if host_machine.system() == 'darwin'
+    vflag = ''
+else
+    vflag = '-Wl,--version-script,@0@/@1@'.format(meson.current_source_dir(), mapfile)
+endif
 
 gexiv2 = library('gexiv2',
                  ['gexiv2-metadata.cpp',


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]