ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: Re: [Wireshark-dev] override config.nmake

From: Gerald Combs <gerald@xxxxxxxxxxxxx>
Date: Tue, 19 Jul 2011 09:27:53 -0700
On 7/19/11 9:09 AM, Helge Kruse wrote:
> Am 19.07.2011 15:32, schrieb Bill Meier:
>> On 7/19/2011 9:15 AM, Helge Kruse wrote:
>>> Is there a way to get the wiresharklibs to a different location without
>>> modifying the files that I get from the repository?
>>
>> Yes: Set a value foe WIRESHARK_LIBS in the environment and then
>> do nmake /E ...
>>
>> set WIRESHARK_LIBS=...
>> nmake /E ....
> 
> Thanks for reply. Unfortunately the /E command passes _all_ variables to
> nmake. This causes problems with two other lines from config.nmake:
> 
> CYGWIN_PATH=c:\cygwin\bin
> PATH=$(PATH);$(CYGWIN_PATH);$(GTK_DIR)\bin; ...
> 
> When starting 'nmake /E' the PATH is not updated anymore. This requires
> to set the PATH before starting nmake. But it includes a further
> reference to C:\ anyway.

I checked in a change in r38114 which lets you specify WIRESHARK_LIBS in
the system environment similar to WIRESHARK_TARGET_PLATFORM.