diff --git a/lib/libDtChat/Makefile.am b/lib/libDtChat/Makefile.am index 1f39f9ec..422da891 100644 --- a/lib/libDtChat/Makefile.am +++ b/lib/libDtChat/Makefile.am @@ -14,7 +14,10 @@ libDtChat_la_SOURCES = core.c loop.c store.c conv.c text.c adapter.c instance.c irc.c identity.c peers.c local.c filexfer.c pair.c i18n.c media_audio.c \ media_packet.c media_call.c media_video.c media_video_packet.c \ media_render.c media_sync.c media_capture.c dc_internal.h -libDtChat_la_LIBADD = libDtChatIpc.la $(CRYPTOLIB) $(LIBTLS) $(OPUSLIB) $(VPXLIB) +# iconv: text.c converts the session's charset with it (AM_ICONV). A library +# carries the dependency so every program that links it gets it too; +# without it dtchat fails with "undefined reference to libiconv_open". +libDtChat_la_LIBADD = libDtChatIpc.la $(LTLIBICONV) $(CRYPTOLIB) $(LIBTLS) $(OPUSLIB) $(VPXLIB) libDtChat_la_LDFLAGS = -version-info 1:0:0 # Built by make mcde-host as well, so tools/mcde-tests.sh finds them in