STLport.spec...

Paweł Sikora pluto w agmk.net
Pią, 2 Maj 2008, 21:33:48 CEST


> +%attr(755,root,root) %ghost %{_libdir}/libstlport.so.5

what for this ancient symlink?
we have .so.5.1 pointing to the right thing.

> stlport*.pc.in

+Libs: -L at libdir@ -lstlport -lpthread -lstdc++ -lm
                                         ^^^^^^^^
stlport is a STL implementation and doesn't need to link with another
STL implemenation.  all necessary __cxa_* stuff are in libsupc++.a
finally, it should be linked like this:

-lstlport -Wl,--whole-archive -lsupc++ -Wl,--no-whole-archive -lgcc_s -lpthread -lc -lm

and cxxflags needs -pthread switch.


Więcej informacji o liście dyskusyjnej pld-devel-pl