Commit Graph

10 Commits

Author SHA1 Message Date
arm32x
162b5da2c3 Stop linking with liblinuxcompat.a
This library used to be provided by HXCPP, but it was removed in version
3.4.185. Fortunately, it doesn't seem to be necessary, so this commit
stops Lime from attempting to link with it.
2022-11-30 11:37:04 -05:00
arm32x
3c4ddbab17 Fix Main.cpp template for -static -debug builds
When building a Lime application in debug mode on Windows, the console
subsystem is used and Windows looks for a 'main' function. However, the
Main.cpp file used when linking statically always defines a 'WinMain'
function regardless of whether the application is being built in debug
mode.

This commit adds an additional check in the Main.cpp that defines a
'main' function instead of 'WinMain' when building in debug mode.
2022-05-04 13:10:13 -04:00
Joshua Granick
4bd853dfb1 Static build fix (resolve #1278) 2019-01-11 20:41:12 -08:00
Joshua Granick
81c633a64b Fix Windows static builds (resolve #1228) 2018-09-03 16:03:27 -07:00
Joshua Granick
e3aad88399 Static build fixes (resolve #1156) 2018-02-19 10:50:13 -08:00
Joshua Granick
3fdb423717 Fix Mac -static build 2015-07-06 13:25:45 -07:00
Joshua Granick
4deb21be8c Fix static build (thanks JeriX) 2015-05-07 13:16:36 -07:00
Joshua Granick
6a6d37f734 Use safe name for registering statics, use 'lime_legacy_' for legacy prims to avoid conflicting names 2015-04-07 12:03:16 -07:00
Joshua Granick
abc07eeff8 Fix static link order 2014-09-20 18:44:10 -07:00
Joshua Granick
c4ea28e044 Add support for -static flag, initially on Windows 2014-08-15 13:16:19 -07:00