Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

qb: Allow building with a shared lua. #7569

Closed
wants to merge 1 commit into from
Closed

qb: Allow building with a shared lua. #7569

wants to merge 1 commit into from

Conversation

orbea
Copy link
Contributor

@orbea orbea commented Nov 9, 2018

Description

This allows building RetroArch with the system lua instead of the builtin lua, the builtin lua will be default and the configure argument --disable-builtinlua must be used to enable the auto detected system lua (If found).

Reviewers

I have only tested that RetroArch continues to build with the builtin lua, with the system lua and without lua. I have not used retroachievements before nor do I have an account to do so. If someone can test this more thoroughly during run time it would be appreciated.

  1. Install lua system wide.
  2. ./configure --enable-lua --disable-builtinlua && make
  3. Test retroachievements.

@orbea
Copy link
Contributor Author

orbea commented Nov 10, 2018

I'm told the lua implementation is not currently in use because it was crashing, I suppose this PR doesn't offer much until it is in use...

@inactive123
Copy link
Contributor

Yeah, can you make lua something that is currently not baked in by default? I am fine with merging the rest of the PR as-is as long as that change is brought about.

v2: Disable baked in lua by default.
@orbea
Copy link
Contributor Author

orbea commented Nov 10, 2018

Yes, I did that. Now it will automatically detect if a system lua is available and build with it if possible. if --enable-builtinlua is used then the baked in lua will be preferred.

@orbea
Copy link
Contributor Author

orbea commented Nov 12, 2018

@twinaphex Did I not understand your request?

@orbea
Copy link
Contributor Author

orbea commented Nov 15, 2018

Nvm, you're just wasting my time and energy again...

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