I would like to run:
libtool c++ -o foo.lo foo.cc
libtool c++ -o bar.lo bar.cc
libtool c++ -o libfoo.la foo.lo -rpath /usr/lib
libtool c++ -o libbar.la bar.lo libfoo.la -rpath /usr/lib

But, the last command yields:
libtool: link: error: cannot link shared libraries into libtool libraries

However, this works:
libtool c++ -o foo.lo foo.cc
libtool c++ -o bar.lo bar.cc
libtool c++ -o libfoo.la foo.lo -rpath /usr/lib
libtool install libfoo.la /usr/lib
libtool c++ -o libbar.la bar.lo -lfoo -rpath /usr/lib

I want to achieve the effect of the last sequence of commands without
installing the library b/c the two libraries are part the same package.

What can I do? Thanks.

-- 
Wesley W. Terpstra <[EMAIL PROTECTED]>
Javien Canada Inc. - Linux Developer

_______________________________________________
Libtool mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/libtool

Reply via email to