From e300d863f564f0b7b52fd6fdc1987afb5c116730 Mon Sep 17 00:00:00 2001 From: Akira TAGOH Date: Fri, 2 Mar 2018 13:19:38 +0900 Subject: [PATCH] Fix a build issue on MinGW with enabling nls --- src/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Makefile.am b/src/Makefile.am index 1a3cf4b..1ff065b 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -82,6 +82,7 @@ AM_CPPFLAGS = \ -DFC_CACHEDIR='"$(FC_CACHEDIR)"' \ -DFONTCONFIG_PATH='"$(BASECONFIGDIR)"' \ -DFC_TEMPLATEDIR='"$(TEMPLATEDIR)"' +LDADD = $(INTLLIBS) EXTRA_DIST += makealias @@ -167,7 +168,7 @@ lib_LTLIBRARIES = libfontconfig.la libfontconfig_la_LDFLAGS = \ -version-info @LIBT_VERSION_INFO@ -no-undefined $(export_symbols) -libfontconfig_la_LIBADD = $(ICONV_LIBS) $(FREETYPE_LIBS) $(LIBXML2_LIBS) $(EXPAT_LIBS) $(UUID_LIBS) +libfontconfig_la_LIBADD = $(ICONV_LIBS) $(FREETYPE_LIBS) $(LIBXML2_LIBS) $(EXPAT_LIBS) $(UUID_LIBS) $(INTLLIBS) libfontconfig_la_DEPENDENCIES = $(fontconfig_def_dependency)