[Top][All Lists]

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

Re: Shared library - static link specific dependency

From: Ralf Wildenhues
Subject: Re: Shared library - static link specific dependency
Date: Fri, 6 Jun 2008 08:05:44 +0200
User-agent: Mutt/1.5.17+20080114 (2008-01-14)

Hello Alon,

* Alon Bar-Lev wrote on Thu, Jun 05, 2008 at 07:09:43PM CEST:
> I want to make a shared library without dependencies. I compile the
> dependencies in PIC mode, so it should be compatible.
> I also require this on Windows, in order to build a DLL without
> OpenSSL external dependency.

Sorry, but I fail to understand your problem description.  Is it that
liba uses a function from libb, but you would like to use
  libtool --mode=link $CC -o a1.lo a2.lo -rpath $libdir

rather than
  libtool --mode=link $CC -no-undefined -o a1.lo a2.lo libb.lo -rpath 

?  Well, on w32, you cannot create DLLs that have unresolved symbols.
That's simply not possible.


reply via email to

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