projects
/
qemu-gpiodev
/
libfuse.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86ebe1d
)
Link against libiconv when possible (#372)
author
HazelFZ
<xfzfygz@gmail.com>
Mon, 4 Mar 2019 09:43:22 +0000
(17:43 +0800)
committer
Nikolaus Rath
<Nikolaus@rath.org>
Mon, 4 Mar 2019 09:43:22 +0000
(09:43 +0000)
lib/meson.build
patch
|
blob
|
history
diff --git
a/lib/meson.build
b/lib/meson.build
index 90ce5a46ecfdfbe1246440702a39de93bbb78591..e27feabfb05656fdcfac6ff33ad0a721a1ce1afe 100644
(file)
--- a/
lib/meson.build
+++ b/
lib/meson.build
@@
-9,11
+9,15
@@
else
libfuse_sources += [ 'mount_bsd.c' ]
endif
+deps = [ thread_dep ]
if cfg.get('HAVE_ICONV')
libfuse_sources += [ 'modules/iconv.c' ]
+ libiconv = cc.find_library('iconv', required: false)
+ if libiconv.found()
+ deps += [ libiconv ]
+ endif
endif
-deps = [ thread_dep ]
libdl = cc.find_library('dl', required: false)
if libdl.found()
deps += [ libdl ]