summaryrefslogtreecommitdiffhomepage
path: root/e2fsprogs
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-05-16 22:05:07 +0000
committerMike Frysinger <vapier@gentoo.org>2005-05-16 22:05:07 +0000
commitb2312e9901d1ed03e769b22bbdeda8055b692675 (patch)
treed9a584bd023c759579a5bfedcfdb899518820552 /e2fsprogs
parent4079b001193acfe8e7ac1e81abc2bb26ab5f3890 (diff)
make sure we add the local dir to the include path
Diffstat (limited to 'e2fsprogs')
-rw-r--r--e2fsprogs/Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/e2fsprogs/Makefile.in b/e2fsprogs/Makefile.in
index d9856a214..7694765c9 100644
--- a/e2fsprogs/Makefile.in
+++ b/e2fsprogs/Makefile.in
@@ -23,6 +23,7 @@ E2FSPROGS_DIR:=$(top_builddir)/e2fsprogs/
endif
srcdir=$(top_srcdir)/e2fsprogs
+CFLAGS += -I$(E2FSPROGS_DIR)
E2P_SRC:=fgetsetflags.c fgetsetversion.c pf.c iod.c
E2P_SRCS:=$(patsubst %,e2p/%, $(E2P_SRC))
@@ -41,4 +42,3 @@ $(E2FSPROGS_DIR)$(E2FSPROGS_AR): $(patsubst %,$(E2FSPROGS_DIR)%, $(E2FSPROGS-y))
$(E2FSPROGS_DIR)%.o: $(srcdir)/%.c
$(CC) $(CFLAGS) $(EXTRA_CFLAGS) -DHAVE_ERRNO_H=1 -DHAVE_UNISTD_H=1 \
-DHAVE_EXT2_IOCTLS=1 -DHAVE_EXT2_IOCTLS=1 -c -o $@ $<
-