Add $(LIBINTL) to tst_problem linked libs.

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>
bitmap-optimize
Matthias Andree 2009-11-05 01:37:37 +01:00 committed by Theodore Ts'o
parent d0a4e54e6a
commit de43f224d4
1 changed files with 2 additions and 1 deletions

View 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 \