Ignore:
Timestamp:
Oct 21, 2013 7:52:35 AM (11 years ago)
Author:
ming
Message:

Re #1630 (misc): Thanks to Mark Michelson for the patch

This changes the autoconfigure script to use different checks for ar and ranlib.
The previous methods were causing compilation failures since it may cause a non-existent "ccar" command to be run.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/build/rules.mak

    r3999 r4628  
    7373        @echo CC=$(CC) 
    7474        @echo AR=$(AR) 
     75        @echo AR_FLAGS=$(AR_FLAGS) 
    7576        @echo RANLIB=$(RANLIB) 
    7677 
     
    8586$(LIB): $(OBJDIRS) $(OBJS) $($(APP)_EXTRA_DEP) 
    8687        if test ! -d $(LIBDIR); then $(subst @@,$(subst /,$(HOST_PSEP),$(LIBDIR)),$(HOST_MKDIR)); fi 
    87         $(AR) $(LIB) $(OBJS) 
     88        $(AR) $(AR_FLAGS) $(LIB) $(OBJS) 
    8889        $(RANLIB) $(LIB) 
    8990 
Note: See TracChangeset for help on using the changeset viewer.