Test newer library with installed older one

2012-05-23 Thread jiangzuo...@gmail.com
Hi list, I have a library project with tests. the test programs run fine when the library is not installed. but if the library is installed, and after some new interfaces added to the library, the make of test programs run well, but running reports the new interfaces not found, as ldd indicating t

Re: Test newer library with installed older one

2012-05-23 Thread jiangzuo...@gmail.com
Because automake cat AM_LDFLAGS before LDADD, so just add the $(top_builddir)/src/libname.la(not in LDADD) as the first resolve the probelm. Changsheng Jiang On Wed, May 23, 2012 at 4:41 PM, jiangzuo...@gmail.com < jiangzuo...@gmail.