cons-discuss
[Top][All Lists]
Advanced

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

Re: LIBS and %-expansion


From: Steven Knight
Subject: Re: LIBS and %-expansion
Date: Fri, 1 Dec 2000 00:24:13 -0600 (CST)

On Thu, 30 Nov 2000, David Sanderson wrote:
> Cons 2.2.0 appears to process LIBS for dependencies before doing
> %-expansion.  Here's what I'm seeing:
        .
        .
        .
> Is this behavior intentional?

Hmm, I doubt it.  %-expansion is more inconsistent than it should be.
2.2.0 fixed a few more places where it wasn't happening, but I fully
expect that there are more.

As it turns out, after a quick code check, Jochen Schwarze added a
patch more than two years ago that expands the %LIBS value, but it was
explicitly coded to only happen on Windows NT!  I can't think of a reason
why both systems shouldn't do this...

> I have appended a small example to illustrate this behavior.
> Directories c1 and c2 differ only in their src/hello/Conscript files as
> shown above, but directory c1 builds and directory c2 does not.

Thanks again for the test case.

        --SK




reply via email to

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