All 'Makefile's must use '$(AR)' (not just 'ar') because the variable may contain options.

This commit is contained in:
joerg@mysql.com 2004-08-24 19:05:42 +02:00
parent 2e238f7eff
commit b8c7b6b0ae
2 changed files with 3 additions and 2 deletions

View file

@ -57,6 +57,7 @@ jcole@main.burghcom.com
jcole@mugatu.spaceapes.com
jcole@sarvik.tfr.cafe.ee
jcole@tetra.spaceapes.com
joerg@mysql.com
jorge@linux.jorge.mysql.com
kaj@work.mysql.com
konstantin@mysql.com

View file

@ -89,9 +89,9 @@ libmysqld.a: libmysqld_int.a $(INC_LIB)
cd tmp ; \
for file in *.a ; do \
bfile=`basename $$file .a` ; \
ar x $$file; \
$(AR) x $$file; \
for obj in *.o ; do mv $$obj $${bfile}_$$obj ; done ; \
ar q ../libmysqld_int2.a *.o ; \
$(AR) q ../libmysqld_int2.a *.o ; \
rm -f *.o ; \
done ; \
cd .. ; \