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!

        - Panu -
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to