-----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 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk6BcoAACgkQkX2Xpv6ydvTe9wCeKw+0k+S61dSBLfwYvnZLmKVH m+oAmwRTnW6ewoR5FUKt97R0wT3Vu8m8 =Tich -----END PGP SIGNATURE-----
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ Pd-dev mailing list [email protected] http://lists.puredata.info/listinfo/pd-dev
