View | Details | Raw Unified | Return to bug 233668 | Differences between
and this patch

Collapse All | Expand All

(-)b/graphics/gexiv2/files/patch-gexiv2_meson.build (-5 / +10 lines)
Lines 1-11 Link Here
1
--- gexiv2/meson.build.orig	2018-11-23 19:55:20 UTC
1
--- gexiv2/meson.build.orig	2018-12-01 18:58:21.005598000 +0100
2
+++ gexiv2/meson.build
2
+++ gexiv2/meson.build	2018-12-01 19:01:56.566055000 +0100
3
@@ -35,7 +35,7 @@ install_headers(gexiv2_headers, subdir :
3
@@ -35,10 +35,10 @@
4
 
4
 
5
 # Static map file
5
 # Static map file
6
 mapfile = 'gexiv2.map'
6
 mapfile = 'gexiv2.map'
7
-if host_machine.system() == 'darwin'
7
-if host_machine.system() == 'darwin'
8
-    vflag = ''
8
+if host_machine.system() == 'darwin' or host_machine.system() == 'freebsd'
9
+if host_machine.system() == 'darwin' or host_machine.system() == 'freebsd'
9
     vflag = ''
10
+    vflag = []
10
 else
11
 else
11
     vflag = '-Wl,--version-script,@0@/@1@'.format(meson.current_source_dir(), mapfile)
12
-    vflag = '-Wl,--version-script,@0@/@1@'.format(meson.current_source_dir(), mapfile)
13
+    vflag = ['-Wl,--version-script,@0@/@1@'.format(meson.current_source_dir(), mapfile)]
14
 endif
15
 
16
 gexiv2 = library('gexiv2',

Return to bug 233668