]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commitdiff
Fix "make check" in e2fsck subdirectory to use the in-tree com_err library
authorTheodore Ts'o <tytso@mit.edu>
Thu, 19 Jun 2008 14:09:08 +0000 (10:09 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 19 Jun 2008 14:09:08 +0000 (10:09 -0400)
Thanks to Jose Santos for pointing this out

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
e2fsck/Makefile.in

index 32743bc261e4c5c8dd0adf6d07cf063e2784ba0d..9b32a610d61c46a55e41c787cc16682992d5667e 100644 (file)
@@ -143,12 +143,12 @@ tst_crc32: $(srcdir)/crc32.c $(LIBEXT2FS)
 tst_refcount: ea_refcount.c
        @echo " LD $@"
        @$(CC) -o tst_refcount $(srcdir)/ea_refcount.c \
-               $(ALL_CFLAGS) -DTEST_PROGRAM -lcom_err
+               $(ALL_CFLAGS) -DTEST_PROGRAM $(LIBCOM_ERR)
 
 tst_region: region.c
        @echo " LD $@"
        @$(CC) -o tst_region $(srcdir)/region.c \
-               $(ALL_CFLAGS) -DTEST_PROGRAM -lcom_err
+               $(ALL_CFLAGS) -DTEST_PROGRAM $(LIBCOM_ERR)
 
 check:: tst_refcount tst_region tst_crc32
        ./tst_refcount