Whamcloud - gitweb
lib/ext2fs: fix Makefile to avoid a build splat when building without VPATH
authorTheodore Ts'o <tytso@mit.edu>
Thu, 11 Sep 2014 23:15:22 +0000 (19:15 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 11 Sep 2014 23:15:22 +0000 (19:15 -0400)
commita2c664ae908dc7d4b545013e669b1cbf76c1e79c
tree586124fee1686fddad55855a90dbc43af1051762
parent551ab6d8e0d4c9d3f5745b1e34153e8e9f82621b
lib/ext2fs: fix Makefile to avoid a build splat when building without VPATH

When building in the source tree, the order of the includes caused the
compiling of debugfs/journal.c while in the lib/ext2fs directory to
find the version in lib/ext2fs instead of the desired version in
e2fsck/jfs_user.h.

We need to eventually get rid of this whole mess and have only one
jfs_user.h and build the journal-related functions once in an internal
library which is used only by e2fsprogs progams.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Reported-by: "Darrick J. Wong" <darrick.wong@oracle.com>
lib/ext2fs/Makefile.in