summaryrefslogtreecommitdiffstats
path: root/libcpu
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2017-02-24 16:47:58 +0100
committerUlf Hermann <ulf.hermann@qt.io>2017-04-28 10:57:30 +0000
commitb665cd7c344a7ae86b2dea9f8a8974725f8946ef (patch)
treef632dc5c04265ae8c26d7647c73d5f4a2f962a95 /libcpu
parent69cdfee21c15e68ab39fe86a86766bb474c2fc78 (diff)
Check if we need -lintl for linking gettext
We might not have gettext available from libc and we cannot get it from gnulib either. Change-Id: I1cc657b13b97bcc7c0f158f11b6702c24e69695c Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'libcpu')
-rw-r--r--libcpu/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcpu/Makefile.am b/libcpu/Makefile.am
index 9ca0f434..d2775832 100644
--- a/libcpu/Makefile.am
+++ b/libcpu/Makefile.am
@@ -90,7 +90,7 @@ i386_lex_CFLAGS = -Wno-unused-label -Wno-unused-function -Wno-sign-compare
i386_parse.o: i386_parse.c i386.mnemonics
i386_parse_CFLAGS = -DNMNES="`wc -l < i386.mnemonics`"
i386_lex.o: i386_parse.h
-i386_gendis_LDADD = $(libeu) $(libgnu) -lm
+i386_gendis_LDADD = $(libeu) $(libgnu) $(intl_LDADD) -lm
i386_parse.h: i386_parse.c ;