godot-wasm: Linking `userenv` is failing

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 19 (9 by maintainers)

Most upvoted comments

Passed. 🎉

Hype! The game template passed. Pending game editor.

Testing now. Wait an hour 😢

This seems like a deficiency of Godot and possibly Scons. Godot changing LIBSUFFIX seems pretty heavy handed and basically precludes modules from using Windows SDK libs.

That said, I’ve got an idea for a workaround involving Scons AddPreAction. This is run after compilation but before linking. Should be able to parse the auto-generated _LIBFLAGS and edit Windows SDK lib names.