summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart De Schuymer <bdschuym@pandora.be>2006-08-09 10:28:14 +0000
committerBart De Schuymer <bdschuym@pandora.be>2006-08-09 10:28:14 +0000
commitdc5d9fc413f2f9177c3f063c34790cf6e7166271 (patch)
tree493caa9ad67c0d87ae32e52876977996d391ed83
parent0faecd528aaa02f2d47fe4cdb56db3774189c576 (diff)
make static work with KERNEL_INCLUDES
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c2b926f..6ddfdc9 100644
--- a/Makefile
+++ b/Makefile
@@ -140,7 +140,7 @@ static: extensions/ebt_*.c extensions/ebtable_*.c ebtables.c communication.c ebt
printf "extern void %s();\n" _t_$${arg}_init >> include/ebtables_u.h ; \
done ; \
printf "\n\tpseudomain(argc, argv);\n\treturn 0;\n}\n" >> ebtables-standalone.c ;\
- $(CC) $(CFLAGS) $(PROGSPECS) -o $@ $^ -Iinclude/ ; \
+ $(CC) $(CFLAGS) $(PROGSPECS) -o $@ $^ -I$(KERNEL_INCLUDES) -Iinclude ; \
for arg in $(EXT_FUNC) \
; do \
sed "s/ .*_init/ _init/" extensions/ebt_$${arg}.c > extensions/ebt_$${arg}.c_ ; \