[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: first draft of "relocatable" module
From: |
Ralf Wildenhues |
Subject: |
Re: first draft of "relocatable" module |
Date: |
Mon, 26 Feb 2007 05:47:21 +0100 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
* Ben Pfaff wrote on Mon, Feb 26, 2007 at 05:41:15AM CET:
>
> The issue is foo_CFLAGS and foo_LDFLAGS need to refer back to the
> directory in which foo is installed. Thus, if foo is in
> bin_PROGRAMS then the following is correct:
>
> foo_CFLAGS = -DINSTALLDIR=\"$(bindir)\"
> if RELOCATABLE_VIA_LD
> foo_LDFLAGS = `$(RELOCATABLE_LDFLAGS) $(bindir)`
> endif
>
> but if foo is in libexecdir_PROGRAMS then the following is needed
> instead:
[...]
Ah, ok, thanks for the explanation. Yes, this may be best solved from
within Automake. Not sure if I have a chance to look at it soon though.
Cheers,
Ralf
- Re: xreadlink, (continued)
Re: first draft of "relocatable" module, Bruno Haible, 2007/02/25
Re: first draft of "relocatable" module, Ralf Wildenhues, 2007/02/25
Re: first draft of "relocatable" module, Albert Chin, 2007/02/28