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

Improved Lua version detection and Lua 5.3 support #132

Merged
merged 3 commits into from
Jun 23, 2019

Conversation

wilhelmy
Copy link
Collaborator

No description provided.

Variadic functions were introduced in 5.0, but the method of accessing
them changed in 5.1. This makes the code incompatible with 5.0 (it is
already incompatible since at least b2b1755), which will be removed
from the build system in a subsequent commit.

Fixes raboof#124. See also raboof#90.
Lua doesn't include an official pkg-config file, therefore we can't rely on
pkg-config variables like "V" or "major_version" - on my system, it detected
the 5.3 library/cflags and used the 5.1 lua/luac binaries (I have both installed
and there was a fallback to 5.1 if it couldn't query these variables from
pkg-config).
@raboof
Copy link
Owner

raboof commented Jun 23, 2019

This drops support for Lua 5.0 and fixes #124

@raboof raboof changed the title Fix #124 Improve Lua version detection during build Jun 23, 2019
@raboof raboof added the development issues that don't impact end users directly label Jun 23, 2019
@raboof raboof changed the title Improve Lua version detection during build Improved Lua version detection and Lua 5.3 support Jun 23, 2019
@raboof raboof merged commit 7f0d1d8 into raboof:master Jun 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
development issues that don't impact end users directly
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants