From 1e67c75271213e6526f9539200f052a029f3dfe2 Mon Sep 17 00:00:00 2001 From: maxcodehack Date: Sat, 26 Dec 2020 13:25:02 +0000 Subject: [PATCH] fix autobuild git-svn-id: svn://kolibrios.org@8482 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/develop/kosjs/Tupfile.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/programs/develop/kosjs/Tupfile.lua b/programs/develop/kosjs/Tupfile.lua index fc3aa99ad8..d62137fc48 100755 --- a/programs/develop/kosjs/Tupfile.lua +++ b/programs/develop/kosjs/Tupfile.lua @@ -7,7 +7,9 @@ CFLAGS = CFLAGS .. " -std=c99 -U__WIN32__ -U_Win32 -U_WIN32 -U__MINGW32__ -UWIN3 INCLUDES = INCLUDES .. " -I ." compile_gcc{"libmujs/utftype.c", "libmujs/jsproperty.c", "libmujs/jsobject.c", "libmujs/jsdtoa.c", "libmujs/jsbuiltin.c", "libmujs/jsvalue.c", "libmujs/jsnumber.c", "libmujs/jsparse.c", "libmujs/jsstate.c", "libmujs/jsgc.c", "libmujs/jsrepr.c", "libmujs/pp.c", "libmujs/utf.c", "libmujs/jsfunction.c", "libmujs/jsdump.c", "libmujs/regexp.c", "libmujs/jsstring.c", "libmujs/jsarray.c", "libmujs/jsrun.c", "libmujs/jsdate.c", "libmujs/jscompile.c", "libmujs/jslex.c", "libmujs/jsboolean.c", "libmujs/jserror.c", "libmujs/jsintern.c", "libmujs/jsmath.c", "libmujs/jsregexp.c", "libmujs/json.c"} -tup.rule(OBJS, "ar rcs %o %f", {"libmujs.a", ""}) +tup.rule(OBJS, "kos32-ar rcs %o %f", {"libmujs.a", ""}) + +OBJS = "" LDFLAGS = LDFLAGS .. " -L. --subsystem native" LIBS = LIBS .. " -lmujs"