From e000fffaa6c31d1e75635552d9a6343a40433628 Mon Sep 17 00:00:00 2001 From: Petr Baudis Date: Fri, 16 Sep 2005 14:29:41 +0200 Subject: [PATCH] Fix linking gettext - actually build libintl.a. ;-) --- src/Makefile | 2 +- src/intl/gettext/Makefile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Makefile b/src/Makefile index 131ab1b4..7b2c3a7e 100644 --- a/src/Makefile +++ b/src/Makefile @@ -60,7 +60,6 @@ SUBDIRS = \ # mysteriously unresolved symbols. ELINKSLIBS = \ main/libmain.a \ - $(INTLLIBS) \ $(cookieslib) \ viewer/libviewer.a \ cache/libcache.a \ @@ -81,6 +80,7 @@ ELINKSLIBS = \ mime/libmime.a \ bfu/libbfu.a \ encoding/libencoding.a \ + $(INTLLIBS) \ util/libutil.a OBJS = vernum.o diff --git a/src/intl/gettext/Makefile b/src/intl/gettext/Makefile index 3b4cff40..ab9659e7 100644 --- a/src/intl/gettext/Makefile +++ b/src/intl/gettext/Makefile @@ -24,8 +24,8 @@ OBJS = \ plural.o \ textdomain.o -# Do not forget to also add the .o to ../Makefile. Yes, it sucks. -all-l: $(OBJS) +all-l: libintl.a +libintl.a: $(OBJS) $(builddir)/charset.alias: $(srcdir)/config.charset