Wireshark mailing list archives

Re: RFC: Add fallback path to get_datafile_dir


From: Joerg Mayer <jmayer () loplof de>
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 () loplof de>
We are stuck with technology when what we really want is just stuff that
works. Some say that should read Microsoft instead of technology.
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe


Current thread: