libtool-patches
[Top][All Lists]
Advanced

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

Re: [PATCH] tests: import variables for MSVC.


From: Ralf Wildenhues
Subject: Re: [PATCH] tests: import variables for MSVC.
Date: Fri, 24 Sep 2010 20:53:02 +0200
User-agent: Mutt/1.5.20 (2010-08-04)

> Den 2010-09-24 19:30 skrev Charles Wilson:
> > That is the typical approach.  The drawback -- usually an acceptable one
> > -- is that if you are building a "stack" of dependent DLLs:
> > 
> > EXE --> C.DLL -> B.DLL
> >     --> A.DLL
> > 
> > Then (a) you must link exe using .obj's compiled as pic (e.g. with
> > -DDLL_EXPORT, even tho the EXE *itself* is not a "shared library").
> > libtool does this by default IIRC.

Huh?  But automake won't go this way usually.  With

  bin_PROGRAMS = foo
  foo_SOURCES = foo.c
  foo_LDADD = libc.la

foo will be linked with foo.o (*not* created by libtool), and neither
foo.lo nor .libs/foo.o will ever be created.

Or, I am misunderstanding your statement, and going back to lurking
mode.

Cheers,
Ralf



reply via email to

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