What is the proper way to enable static linking in OpenFL?
We’re trying to set our game to not ship with a separate lime.ndll for our Windows releases but no matter how I configure our project XML, it still adds a separate lime.ndll. I’ve tried:
<set name=“static” />
<haxeflag name="-D static" />
<haxeflag name="-D static_link" />
…but none of those seem to work.
The reason I’m asking is that we had players successfully run the exe from the folder directly, but if they create a shortcut to the exe and put it on their desktop, they get an error saying lime.ndll can’t be found. I did some research and this seems to have also been an issue with Dicey Dungeons.
Our current setup is Haxe 3.4.7, OpenFL 8.9.6, and Lime 7.6.3.