[asterisk-dev] [asterisk-commits] rizzo: trunk r92023 - /trunk/Makefile.moddir_rules

Kevin P. Fleming kpfleming at digium.com
Mon Dec 10 06:36:30 CST 2007


Luigi Rizzo wrote:

> BTW there are three more places in this file where there is a ../ which maybe
> should become $(ASTTOPDIR) ?
> 
>   __embed_ldscript:
>         @echo "../$(SUBDIR)/modules.link"
>   modules.link:
>         @rm -f $@
>         @for file in $(patsubst %,$(SUBDIR)/%,$(filter %.eo,$^)); do echo "INPUT (../$${file})" >> $@; done
>         @for file in $(patsubst %,$(SUBDIR)/%,$(filter-out %.eo,$^)); do echo "INPUT (../$${file})" >> $@; done

That will probably work, but it'll make the linker script a lot larger
if the path is long :-)

-- 
Kevin P. Fleming
Director of Software Technologies
Digium, Inc. - "The Genuine Asterisk Experience" (TM)



More information about the asterisk-dev mailing list