aboutsummaryrefslogtreecommitdiffstats
path: root/main/fuse/fuse-iconv.patch
blob: 0f930ce93a6c91194d27ecaef87d3ea83535d2da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
diff --git a/lib/Makefile.am b/lib/Makefile.am
index 7b19fc2..db8352e 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:4 \
+libfuse_la_LDFLAGS += @libfuse_libs@ -version-number 2:8:4 \
 	-Wl,--version-script,$(srcdir)/fuse_versionscript
 
 libulockmgr_la_SOURCES = ulockmgr.c