Commit 6994849a authored by Mike Hibler's avatar Mike Hibler

Bah! Didn't work if you ran configure with a relative (rather than absolute)

path.
parent f77e9fc4
......@@ -21,7 +21,7 @@ WITH_FAT = @WINSUPPORT@
include $(OBJDIR)/Makeconf
SUBDIRCFLAGS = -Wall -O2 -g -I$(SRCDIR)
SUBDIRCFLAGS = -Wall -O2 -g
ifdef LINUX
SUBDIRCFLAGS += -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_THREAD_SAFE -pthread
else
......@@ -36,7 +36,7 @@ endif
# Necessary sometimes.
#PTHREADCFLAGS += -DCONDVARS_WORK
CFLAGS = $(SUBDIRCFLAGS) -static
CFLAGS = $(SUBDIRCFLAGS) -I$(SRCDIR) -static
LIBS = -lz $(PTHREADLIBS)
UNZIPCFLAGS = $(CFLAGS) $(PTHREADCFLAGS) -Wall
UNZIPLIBS = $(LIBS) $(PTHREADLIBS)
......
......@@ -12,7 +12,7 @@ MAINDIR = $(SRCDIR)/..
include $(OBJDIR)/Makeconf
CFLAGS += $(SUBDIRCFLAGS) -I$(SRCDIR)
CFLAGS += $(SUBDIRCFLAGS) -I$(MAINDIR) -I$(SRCDIR)
all: libextfs.a
......
......@@ -12,7 +12,7 @@ MAINDIR = $(SRCDIR)/..
include $(OBJDIR)/Makeconf
CFLAGS += $(SUBDIRCFLAGS) -I$(SRCDIR)
CFLAGS += $(SUBDIRCFLAGS) -I$(MAINDIR) -I$(SRCDIR)
all: libfat.a
......
......@@ -12,7 +12,7 @@ MAINDIR = $(SRCDIR)/..
include $(OBJDIR)/Makeconf
CFLAGS += $(SUBDIRCFLAGS)
CFLAGS += $(SUBDIRCFLAGS) -I$(MAINDIR) -I$(SRCDIR)
all: libffs.a
......
......@@ -20,7 +20,7 @@ endif
ifndef HAVE_GCC3
CC = gcc30
endif
CFLAGS += $(SUBDIRCFLAGS) -Ilibntfs/ntfsprogs/include
CFLAGS += $(SUBDIRCFLAGS) -I$(MAINDIR) -Ilibntfs/ntfsprogs/include
ifndef LINUX
CFLAGS += -I$(SRCDIR)/extra_bsd_includes \
-I$(SRCDIR)/liblocale/include
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment