summaryrefslogtreecommitdiff
path: root/apps/graphics
diff options
context:
space:
mode:
Diffstat (limited to 'apps/graphics')
-rw-r--r--apps/graphics/screenshot/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/graphics/screenshot/Makefile b/apps/graphics/screenshot/Makefile
index 4786df1e4..7b1aaa551 100644
--- a/apps/graphics/screenshot/Makefile
+++ b/apps/graphics/screenshot/Makefile
@@ -52,6 +52,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