gnutls-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with cross build for windows on linux with shared libraries


From: Eli Zaretskii
Subject: Re: Problem with cross build for windows on linux with shared libraries
Date: Thu, 05 Sep 2013 14:28:12 +0300

> From: Tomasz Gajewski <address@hidden>
> Date: Thu, 5 Sep 2013 10:22:36 +0000 (UTC)
> 
> > already links against gnulib, see ../gl/.libs/libgnu.a above.  So the
> > problem seems to be that gnulib is mentioned on the link command line
> > _before_ libopts.a.  Re-arranging the order of the libraries so that
> > libgnu.a is after libopts.a should fix the problem.
> > 
> > Actually, I think libiconv and -lws2_32 should also be closer to the
> > end of the link command line.
> 
> I've checked that changing sequence of libopts.la and libgnu.la allows
> linking this binary. I was building all dependencies as shared libraries so
> I haven't expected any static archives there and problems coming from using
> them. Thank you.

You are welcome.  Gnulib is an internal library used to bring all
system-dependent stuff in one place, so it is normally (always?)
linked in as a static library, AFAIK.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]