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: Helge Kruse <Helge.Kruse-nospam@xxxxxxx>
Date: Tue, 19 Jul 2011 18:09:19 +0200
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.