|Subject:||libtool wrapper vs $cwd|
|Date:||Fri, 16 May 2008 17:34:36 -0400|
|User-agent:||Thunderbird 188.8.131.52 (Windows/20080421)|
Hello,I helped out with a a build system and switching to libtool for a shared library and am now having the following problem. After building but before installing, the program used to be able to be tested by
cd foo-x.y/src ./myprogUnfortunately, it was keying off of the directory part of argv to help find a file which must be read when the program runs but now argv includes .libs/ due to libtool.
There is an environment variable which can be set that will tell myprog to look somewhere else for this file. Is there anyway to cause the libtool wrapper script, src/myprog, to set this variable automatically? If not, any suggestions on the best way to deal with programs which might use the directory of argv when testing with the libtool generated wrapper script?
|[Prev in Thread]||Current Thread||[Next in Thread]|