Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

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

From: Dario Lombardo <lomato@xxxxxxxxx>
Date: Fri, 27 Mar 2020 18:58:17 +0100
It worked. I'm pushing the fix.
Thanks you made my day ;).

On Fri, Mar 27, 2020 at 6:16 PM Pascal Quantin <pascal@xxxxxxxxxxxxx> wrote:
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.
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe


--
Naima is online.