Skip to content

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

@cxw42

Description

@cxw42

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions