aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libfsimage/ext2fs-lib/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/libfsimage/ext2fs-lib/Makefile')
-rw-r--r--tools/libfsimage/ext2fs-lib/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/libfsimage/ext2fs-lib/Makefile b/tools/libfsimage/ext2fs-lib/Makefile
index 142207f63b..671fbffd73 100644
--- a/tools/libfsimage/ext2fs-lib/Makefile
+++ b/tools/libfsimage/ext2fs-lib/Makefile
@@ -4,7 +4,10 @@ LIB_SRCS-y = ext2fs-lib.c
FS = ext2fs-lib
-FS_LIBDEPS = -lext2fs
+FS_LIBDEPS = $(EXTFS_LIBS)
+
+# Include configure output (config.h) to headers search path
+CFLAGS += -I$(XEN_ROOT)/tools
.PHONY: all
all: fs-all