Whamcloud - gitweb
e2fsck: fix "make check" when using static libraries
authorTheodore Ts'o <tytso@mit.edu>
Sun, 15 Mar 2020 04:26:22 +0000 (00:26 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 15 Mar 2020 04:26:22 +0000 (00:26 -0400)
Fixes: 70303df16ca6 ("e2fsck: consistently use ext2fs_get_mem()")

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

index 4a926a7..3fdbfbd 100644 (file)
@@ -144,11 +144,11 @@ tst_logfile: $(srcdir)/logfile.c
        $(Q) $(CC) -o tst_logfile $(srcdir)/logfile.c \
                $(ALL_CFLAGS) $(ALL_LDFLAGS) -DTEST_PROGRAM $(SYSLIBS)
 
-tst_region: region.c $(DEPLIBCOM_ERR) $(LIBEXT2FS)
+tst_region: region.c $(LIBEXT2FS) $(DEPLIBCOM_ERR)
        $(E) "  LD $@"
        $(Q) $(CC) -o tst_region $(srcdir)/region.c \
                $(ALL_CFLAGS) $(ALL_LDFLAGS) -DTEST_PROGRAM \
-               $(LIBCOM_ERR) $(LIBEXT2FS) $(SYSLIBS)
+               $(LIBEXT2FS) $(LIBCOM_ERR) $(SYSLIBS)
 
 fullcheck check:: tst_refcount tst_region tst_problem
        $(TESTENV) ./tst_refcount