Wireshark-dev: Re: [Wireshark-dev] Build without LUA fails

From: Pascal Quantin <pascal@xxxxxxxxxxxxx>
Date: Fri, 27 Mar 2020 18:15:29 +0100
Hi Dario,
Le ven. 27 mars 2020 à 18:10, Dario Lombardo <lomato@xxxxxxxxx> a écrit :
On Thu, Mar 19, 2020 at 9:09 AM Pascal Quantin <pascal@xxxxxxxxxxxxx> wrote:

Note that the previous patch was incomplete. Lines 103 and 108 must be changed also. See https://code.wireshark.org/review/#/c/36494/


Should have it fixed the compilation when lua is installed but disabled through ENABLE_LUA=0?
I am in this configuration and the compilation fails.

No and the file I changed does not care about ENABLE_LUA that is handled in CMakeLists.txt. I guess in this file, wherever you have if (LUA_FOUND) you should replace it by if (LUA_FOUND AND ENABLE_LUA) and retest.

Best regards,
Pascal.