-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2011-09-26 23:29, Hans-Christoph Steiner wrote:
My guess is that it'll be something like this:
#ifdef _WIN32 PATH #elif defined(__APPLE__) DYLD_LIBRARY_PATH #else LD_LIBRARY_PATH #endif
i would go for something with less logic involved: push(PATH); push(LD_LIBRARY_PATH); push(DYLD_LIBRARY_PATH); ... pop(PATH); pop(LD_LIBRARY_PATH); pop(DYLD_LIBRARY_PATH);
the only drawback i see right now is, that is doesn't work. at least on linux, any modification to LD_LIBRARY_PATH is nicely ignored and only the value taken when starting the application is taken into account :-(
maybe there is a soltuin for this problem, but i haven't come across one yet.
fgmasdr IOhannes