Wireshark-dev: Re: [Wireshark-dev] win32 setup/build problem
      
      
Neil Piercy wrote:
I've had a build failure under Windows since the move to glib 2.12.6, 
which I traced to a setup problem: the unzip of the packages in 
tools/win32-setup.sh uses "unzip -nq" - the -n prevents it updating 
existing files at all, ending up with a mix of original package and 
new package for those packages which reuse a non-versioned directory 
for the unpacked files.
Proposed fix:
a) change the makefile so all unversioned package directories are 
deleted during setup (looks like somebody else noticed similar as this 
is already done for gtk2 for 2.12, but it should be wider) - it is 
slower but safer to maybe always delete the destination dir and create 
it afresh ?
b) change win32-setup.sh to use -uo in place of -n - at least then you 
get all the new package, possibly with remnants of the old package if 
it wasnt deleted first and the files are no longer in the new package.
Patches attached.
Hi Neil!
I simply added a dependency from the setup to the clean_setup target, so 
the dirs mentioned there are removed which should do the job.
Regards, ULFL