shlib_wrap.sh in openssl just sets all the variables regardless of which platform we are actually on; that could be done in the makefile easily assuming that's all that's needed. i don't think you can just override the LD_LIBRARY_PATH as opposed to adding to it though.
On Thu, Apr 12, 2012 at 2:07 PM, Andrew Deason <[email protected]> wrote: > On Wed, 11 Apr 2012 19:05:32 -0400 > Jason Edgecombe <[email protected]> wrote: > >> ok, so what's next? >> >> Is it good enough to write a script that sets the right variables and >> runs the tests? > > Yes; at least, that's what I was thinking. Apparently tests/Makefile.in > already tries to do this, by just setting LD_LIBRARY_PATH. Instead of > running 'LD_LIBRARY_PATH=@TOP_OBJDIR@/lib ./runtests bar', it should > probably run something like './libwrap @TOP_OBJDIR@/lib ./runtests bar' > and have some 'libwrap' script that sets the right variables according > to the platform (platform obtained via @AFS_SYSNAME@ from autoconf). > > Or runtests itself could set this, but I assume just a little bit of > shell is easier. I haven't thought any of this through or anything; just > mentioning the idea. > > -- > Andrew Deason > [email protected] > > _______________________________________________ > OpenAFS-devel mailing list > [email protected] > https://lists.openafs.org/mailman/listinfo/openafs-devel -- Derrick _______________________________________________ OpenAFS-devel mailing list [email protected] https://lists.openafs.org/mailman/listinfo/openafs-devel
