Mike Pall wrote: >> I have a particular lua file that gets compiled differently depending >> on whether I use the luajit.exe or if I make my own exe and statically >> link it to luajit.lib. > > Does the attached patch fix the problem? Yes, that fixes it! Thanks a lot for the quick solution. // Niklas