libtool/pthread problem
Michal Moskal
malekith at pld-linux.org
Fri Oct 11 22:09:03 CEST 2002
On Fri, Oct 11, 2002 at 10:02:36PM +0200, Michal Moskal wrote:
> If libtool is called like:
>
> /bin/sh ../libtool --mode=link i686-pld-linux-gcc -O2 -march=athlon
> -Wall -pthread -s
> -L/home/users/malekith/tmp/glib2-2.1.0-root-malekith/usr/lib -o
> libgthread-2.0.la -rpath /usr/lib -version-info 100:0:100
> -export-dynamic gthread-impl.lo -pthread ../glib/libglib-2.0.la
>
> Shouldn't it link resulting library against -lpthread, or at least
> mention pthread in generated .la file?
>
> Sorry, but I'm by no means autocrap wizard and have to ask.
Or maybe I should do s/-pthread/& -lpthread/ on Makefiles?
--
: Michal Moskal ::::: malekith/at/pld-linux.org : GCS {C,UL}++++$ a? !tv
: PLD Linux ::::::: Wroclaw University, CS Dept : {E-,w}-- {b++,e}>+++ h
More information about the pld-devel-en
mailing list