[Rpm-maint] [PATCH 1/2] Fix --without-lua build.

Panu Matilainen pmatilai at redhat.com
Wed Jun 5 10:31:39 UTC 2019


On 6/5/19 1:29 PM, Panu Matilainen wrote:
> On 6/4/19 12:28 AM, Mark Wielaard wrote:
>> commit 62bd62 "Add a rpmlua wrapper function for registering libraries"
>> moved the rpmluaRegister function definition into rpmio/rpmlua.h and
>> added an #include <lauxlib.h>. This made that file not compile anymore
>> when lua-devel isn't installed and configuring --without-lua. Even though
>> that function isn't compiled or used when not using lua with rpm.
>>
>> Fix this by wrapping both the include and the function definition
>> in #ifdef WITH_LUA.
>> ---
> 
> Both merged via https://github.com/rpm-software-management/rpm/pull/738
> (we're expected to do everything through PR's these days to get full CI 
> checks on everything, in case you wonder)
> 
> Thanks for the patches!
> 

...and once more with CC to sender.

	- Panu -


More information about the Rpm-maint mailing list