diff options
Diffstat (limited to 'apps/system/vi/Makefile')
-rw-r--r-- | apps/system/vi/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/system/vi/Makefile b/apps/system/vi/Makefile index eb1b10c69..8e4c7c146 100644 --- a/apps/system/vi/Makefile +++ b/apps/system/vi/Makefile @@ -59,6 +59,10 @@ COBJS = $(CSRCS:.c=$(OBJEXT)) SRCS = $(ASRCS) $(CSRCS) $(MAINSRC) OBJS = $(AOBJS) $(COBJS) +ifneq ($(CONFIG_BUILD_KERNEL),y) + OBJS += $(MAINOBJ) +endif + ifeq ($(CONFIG_WINDOWS_NATIVE),y) BIN = ..\..\libapps$(LIBEXT) else |