From e170edac17c25bf60d291c916d822e6cf3adfed8 Mon Sep 17 00:00:00 2001 From: Igor Chevdar Date: Tue, 21 Mar 2017 17:24:55 +0300 Subject: [PATCH] Added option to build script for tetris --- samples/tetris/build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/tetris/build b/samples/tetris/build index ae9ecde461c..e976b5d26ee 100755 --- a/samples/tetris/build +++ b/samples/tetris/build @@ -28,5 +28,5 @@ var=LINKER_ARGS_${TARGET} LINKER_ARGS=${!var} $DIST/bin/interop -def:$DIR/sdl.def -copt:"$CFLAGS" -target:$TARGET || exit 1 -$DIST/bin/konanc -target $TARGET sdl $DIR/tetris.kt -nativelibrary sdlstubs.bc -linkerArgs "$LINKER_ARGS" -o tetris.kexe || exit 1 +$DIST/bin/konanc -nomain -target $TARGET sdl $DIR/tetris.kt -nativelibrary sdlstubs.bc -linkerArgs "$LINKER_ARGS" -o tetris.kexe || exit 1 #strip tetris.kexe