aboutsummaryrefslogtreecommitdiffstats
path: root/testing/fuse/fuse-iconv.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/fuse/fuse-iconv.patch')
-rw-r--r--testing/fuse/fuse-iconv.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/testing/fuse/fuse-iconv.patch b/testing/fuse/fuse-iconv.patch
new file mode 100644
index 0000000000..4710f576f2
--- /dev/null
+++ b/testing/fuse/fuse-iconv.patch
@@ -0,0 +1,24 @@
+diff --git a/lib/Makefile.am b/lib/Makefile.am
+index 3eec119..c7414ac 100644
+--- a/lib/Makefile.am
++++ b/lib/Makefile.am
+@@ -11,8 +11,10 @@ else
+ mount_source = mount.c mount_util.c mount_util.h
+ endif
+
++libfuse_la_LDFLAGS =
+ if ICONV
+ iconv_source = modules/iconv.c
++libfuse_la_LDFLAGS += -liconv
+ else
+ iconv_source =
+ endif
+@@ -35,7 +37,7 @@ libfuse_la_SOURCES = \
+ $(iconv_source) \
+ $(mount_source)
+
+-libfuse_la_LDFLAGS = @libfuse_libs@ -version-number 2:8:1 \
++libfuse_la_LDFLAGS += @libfuse_libs@ -version-number 2:8:1 \
+ -Wl,--version-script,$(srcdir)/fuse_versionscript
+
+ libulockmgr_la_SOURCES = ulockmgr.c