lua detection can fail when --bindings="lua" is provided
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libbls |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Currently (revision 64) of libbls checks for lua using pkg-config as both lua5.1 and then also lua using the code below.
opt_pkgs = [('lua5.1', 'lua')]
for pkg, uselib in opt_pkgs:
conf.
mandatory = 'lua' in Options.
When --bindings="lua" is *not* specified this works fine, however, when lua is in Options.
Related branches
Changed in libbls: | |
status: | New → Fix Committed |
Changed in libbls: | |
status: | Fix Committed → Fix Released |
Hi Mike,
I am not sure I understand this. The code above just checks for the pkg-config package 'lua5.1' and stores its flags in the uselib variables *_lua. It doesn't check for both 'lua5.1' and 'lua'.
If you mean, however, that in some distributions the pkg-config file is lua.pc (instead of lua5.1.pc) then of course I need to find a way to support both of them.