diff --git a/contrib/media/minimp3/Tupfile.lua b/contrib/media/minimp3/Tupfile.lua index bc6a6c2f05..954a7da8cf 100644 --- a/contrib/media/minimp3/Tupfile.lua +++ b/contrib/media/minimp3/Tupfile.lua @@ -6,5 +6,5 @@ end tup.include(HELPERDIR .. "/use_gcc.lua") NEWLIB_INCLUDE = "../../sdk/sources/newlib/libc/include" INCLUDES = INCLUDES .. " -I" .. NEWLIB_INCLUDE -CFLAGS = CFLAGS_OPTIMIZE_SPEED .. " -o minimp3.obj -U_WIN32 -nostdlib -fwhole-program" -compile_gcc{"minimp3.c"} +CFLAGS = CFLAGS_OPTIMIZE_SPEED .. "-nostdlib -fwhole-program" +compile_gcc{"minimp3.c", "minimp3.obj"}