diff --git a/programs/develop/kosjs/Tupfile.lua b/programs/develop/kosjs/Tupfile.lua index 968313a324..fc3aa99ad8 100755 --- a/programs/develop/kosjs/Tupfile.lua +++ b/programs/develop/kosjs/Tupfile.lua @@ -9,7 +9,7 @@ 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", ""}) -LDFLAGS = LDFLAGS .. " -Llibmujs --subsystem native" +LDFLAGS = LDFLAGS .. " -L. --subsystem native" LIBS = LIBS .. " -lmujs" table.insert(LIBDEPS, "") INCLUDES = INCLUDES .. " -Ilibmujs"