Skip to content

Conversation

@Daft-Freak
Copy link
Contributor

Use the stdio wrapper there too.

I saw that the auto-builder built this for PicoVision and wondered if it actually worked. It didn't but the fix is easy and now it does.

Maybe this'll result in more users and/or improvements, who knows? 😆

Also the check out of the cpp
This is still broken but now it compiles
Looking in /usr/local/share on a blit is not so useful.

(For SDL this would be [game dir]/usr/local/,,, which is about as bad)
This means that require "thing" now works
@Daft-Freak
Copy link
Contributor Author

Now with more fixes so I can compile it again and require works!

@Daft-Freak
Copy link
Contributor Author

Mmm, getting this working for SDL builds is harder... I have a patch to adjust the lua path so that require works (4e53e33), but that's still going to leave the file APIs pointing to the wrong place due to not using the stdio wrapper (which we can't do everywhere because apart from being a hack, it uses the gcc-specific #include_next).

I guess the only option left is patching the lua sources...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants