{var_*} in actions defined in modules

Adriaan de Groot <adridg-FlD2LfDziEhmR6Xm/[email protected]>
Newsgroups gmane.comp.tools.aap.devel
Message-ID <[email protected]>
Consider this:

LDFLAGS=-bong

:ltlib { var_LDFLAGS = -module -avoid-version -no-undefined }
	...


Now, the point is that for linking purposes, LDFLAGS from attributes should be 
used, not the recipe variable. Except:

Aap: /mnt/src/kde-HEAD/kdepim/libtool --mode=link --tag=CXX g++ -bong   -o 
conduit_null.la build-FreeBSD4_9_RC/setup_base.lo build-FreeBSD4_9_RC/
null-conduit.lo build-FreeBSD4_9_RC/null-factory.lo

It looks like the new variable lookup code forgets to look in the attributes. 
I don't really know where to look for this -- expand() is called from 
aap_shell(), but I don't think the problem is at runtime, but at AAP compile 
time.


-- 
pub  1024D/FEA2A3FE 2002-06-18 Adriaan de Groot <[email protected]>
            If the door is ajar, can we fill it with door-jamb?


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.