Ignore:
Timestamp:
Feb 1, 2004, 1:15:41 AM (22 years ago)
Author:
bird
Message:

fixed some issues with the 2.11.2 ar.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/emx/templates.smak

    • Property cvs2svn:cvs-rev changed from 1.3 to 1.4
    r1133 r1134  
    4040define def_lib_ar
    4141$$.$(.TARG): $(.OBJS) $(.DEPS)
    42         echo "CREATE $$@" > $$@.ar-script
     42        echo "CREATE $$(@F)" > $$@.ar-script
    4343        $(foreach x, $(filter %.o, $(sort $(.OBJS) $(.DEPS))), $(call def_lib_ar_addmod))
    4444        echo "SAVE" >> $$@.ar-script
    4545        echo "END" >> $$@.ar-script
    4646        rm -f $$@
    47         ar -M < $$@.ar-script
     47        cd $$(@D) && ar -M < $$@.ar-script
    4848       
    4949endef
Note: See TracChangeset for help on using the changeset viewer.