anantha narasimhan wrote:
Hi,
I am trying to build an rpm for an application. This application needs to
link with libhtp library. libhtp has a few undefined symbols, for which it
depends on libz.
I wanted to link libhtp statically to the application, hence i overrode
LDFLAGS in the SPEC file to point to the location of libhtp.a.
export LDFLAGS="-L`pwd` -lz -ldag -O3 -mtune=generic"
use this (in this order)
-static -lhtp -dynamic -lz -ldag
any reason why you are using libtool ?
if you are picky about static and dynamic libs - chances are you dont
need libtool.
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc