[Top][All Lists]

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

Re: Questions on exporting functions from a shared library

From: Ralf Wildenhues
Subject: Re: Questions on exporting functions from a shared library
Date: Thu, 9 Oct 2008 19:57:33 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

* Jef Driesen wrote on Thu, Oct 09, 2008 at 05:26:46PM CEST:
> Ralf Wildenhues wrote:
>> * Jef Driesen wrote on Wed, Oct 08, 2008 at 10:24:46AM CEST:
>>> BTW, what is the reason that when I use mylib_la_CFLAGS = 
>>> -DMYLIB_BUILD,  in, all my object files are named 
>>> "mylib_la-myfile.o"  instead of the regular "myfile.o"?
>> Addressed here:
>> <>
> I was already thinking in that direction, but since there is only one  
> target that needs to be build in my case, there is no need to rename  
> object files and I assumed automake would not rename.

Problem is, it would be potentially costly for automake to find out
whether there is only one such object.  And maybe even impossible:
there could be @substituted@ sources, where it's not known a priori
whether they are built or not.

> That's why I  
> curious whether there was another reason that could cause this.



reply via email to

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