diff --git a/netutils/thttpd/Makefile b/netutils/thttpd/Makefile index c950650fd..998a51448 100644 --- a/netutils/thttpd/Makefile +++ b/netutils/thttpd/Makefile @@ -53,6 +53,7 @@ endif ifeq ($(CONFIG_THTTPD_BINFS),y) CSRCS += phf.c redirect.c ssi.c + CFLAGS += ${shell $(INCDIR) "$(CC)" "$(APPDIR)$(DELIM)netutils$(DELIM)thttpd"} DEPPATHS += --dep-path cgi-src VPATH += :cgi-src diff --git a/netutils/thttpd/cgi-src/Makefile b/netutils/thttpd/cgi-src/Makefile index 1bb0736c2..ee5c23e9a 100644 --- a/netutils/thttpd/cgi-src/Makefile +++ b/netutils/thttpd/cgi-src/Makefile @@ -35,7 +35,7 @@ include $(TOPDIR)/Make.defs -CFLAGS += ${shell $(INCDIR) "$(CC)" "$(APPDIR)/netutils/thttpd" "$(APPDIR)/netutils/thttpd/cgi-src"} +CFLAGS += ${shell $(INCDIR) "$(CC)" "$(APPDIR)$(DELIM)netutils$(DELIM)thttpd"} CGIBINDIR = $(APPDIR)/netutils/thttpd/cgi-bin CLEANFILES = *.o redirect ssi phf