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

Request: also add current Lua version to pkg-config #61

Open
cxw42 opened this issue May 18, 2020 · 0 comments
Open

Request: also add current Lua version to pkg-config #61

cxw42 opened this issue May 18, 2020 · 0 comments

Comments

@cxw42
Copy link

cxw42 commented May 18, 2020

I have Lua 5.3 installed both as an Ubuntu package and through luaver. However, pkg-config points to the system Lua even when I am using luaver:

$ luaver use 5.3.5
==>  Switching to lua-5.3.5
==>  Successfully switched to lua-5.3.5

$ pkg-config --cflags --libs lua5.3
-I/usr/include/lua5.3 -llua5.3

Would you be open to creating a .pc file and adding it to PKG_CONFIG_PATH on luaver use? That way autoconf or other pkg-config users would find my luaver lua rather than the system lua. Thanks for considering this request!

(tested on Lubuntu Eoan)

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

No branches or pull requests

1 participant