[Top][All Lists]

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

Re: PATCH: make install-strip in cross-compilation environments

From: Alexandre Duret-Lutz
Subject: Re: PATCH: make install-strip in cross-compilation environments
Date: 24 Jan 2001 09:59:26 +0100
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

>>> "Alexandre" == Alexandre Oliva <address@hidden> writes:

 Alexandre> On Jan 23, 2001, Alexandre Duret-Lutz <address@hidden> wrote:
 >> INSTALL_STRIP_PROGRAM=$$(topsrc_dir)/$(install_sh) -s

 >> and then

 >> install-strip:

 >> So that $(topsrc_dir) gets evaluated in the sub-make.  From
 >> the simulation below, it appears to work fine.  The question is,
 >> is it portable?  I mean, will any make perform variable substitution
 >> in command line arguments?

 Alexandre> I don't think so.  But then, you can always use:

 Alexandre> INSTALL_STRIP_PROGRAM=`cd $$(top_srcdir) && pwd`/$(install_sh)

That wouldn't work for the same reason I said what I suggested
above cannot work: $(install_sh) is not always relative to $(top_srcdir).
IMHO ${install_sh} needs to be expansed at configure time, when
it is defined.

Alexandre Duret-Lutz

reply via email to

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