Whamcloud - gitweb
Add $(LIBINTL) to tst_problem linked libs.
authorMatthias Andree <matthias.andree@gmx.de>
Thu, 5 Nov 2009 00:37:37 +0000 (01:37 +0100)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 16 Nov 2009 05:31:06 +0000 (00:31 -0500)
Fixes build problem on systems where gettext() isn't in libc,
such as FreeBSD.

Signed-off-by: Matthias Andree <matthias.andree@gmx.de>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
e2fsck/Makefile.in

index 8296e72..29f3c6f 100644 (file)
@@ -138,7 +138,8 @@ crc32table.h: gen_crc32table
 tst_problem: $(srcdir)/problem.c $(srcdir)/problem.h $(LIBEXT2FS) \
        $(DEPLIBCOM_ERR)
        $(Q) $(CC) $(BUILD_LDFLAGS) $(ALL_CFLAGS) -o tst_problem \
-               $(srcdir)/problem.c -DUNITTEST $(LIBEXT2FS) $(LIBCOM_ERR)
+               $(srcdir)/problem.c -DUNITTEST $(LIBEXT2FS) $(LIBCOM_ERR) \
+               $(LIBINTL)
 
 tst_crc32: $(srcdir)/crc32.c $(LIBEXT2FS) $(DEPLIBCOM_ERR)
        $(Q) $(CC) $(BUILD_LDFLAGS) $(ALL_CFLAGS) -o tst_crc32 $(srcdir)/crc32.c \