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] RFC: Add fallback path to get_datafile_dir

From: Joerg Mayer <jmayer@xxxxxxxxx>
Date: Mon, 29 Aug 2011 20:48:03 +0200
On Mon, Aug 29, 2011 at 11:38:55AM -0700, Guy Harris wrote:
> > as the problem recently popped up how to load auxillary files in the source
> > directory that have not been installed to their final paths, I've created a
> > patch that will add a fallback directory path to get_datafile_dir.
> > So far get_datafile_dir would check wether some magic variable were set to
> > locate generated (i.e. compiled) stuff inside the build dir instead of the
> > install dir. This patch allows to override this behaviour to search in the
> > specified directory relative to the source dir.
> 
> So this is for the case where the build directory isn't the source directory, and you want to run Wireshark from the build directory?

Correct. I think I haven't built Wireshark in tree for a few years.

Ciao
 Joerg
-- 
Joerg Mayer                                           <jmayer@xxxxxxxxx>
We are stuck with technology when what we really want is just stuff that
works. Some say that should read Microsoft instead of technology.