3 1 file changed, 4 insertions(+), 1 deletion(-)
7 @@ -22,6 +22,9 @@ CFLAGS += -m64
11 +CFLAGS += -Iinstalled/usr/include
12 +CFLAGS_ARCH += -Iinstalled/usr/include
14 SRC = makedumpfile.c makedumpfile.h diskdump_mod.h
15 SRC_ARCH = x86.c x86_64.c ia64.c ppc64.c
16 OBJ_ARCH = x86.o x86_64.o ia64.o ppc64.o
17 @@ -32,7 +35,7 @@ $(OBJ_ARCH): $(SRC_ARCH)
18 $(CC) $(CFLAGS_ARCH) -c -o ./$@ ./$(@:.o=.c)
20 makedumpfile: $(SRC) $(OBJ_ARCH)
21 - $(CC) $(CFLAGS) $(OBJ_ARCH) -o $@ $< -static -ldw -lelf -lz
22 + $(CC) $(CFLAGS) $(OBJ_ARCH) -o $@ $< -static -Linstalled/usr/lib -ldw -lelf -lz
23 gzip -c ./makedumpfile.8 > ./makedumpfile.8.gz