em?.o and C_failed.o must be at the end of the archive
This commit is contained in:
parent
dcf7aa2723
commit
74a1a176c5
|
@ -40,11 +40,12 @@ cat >make.sh <<'--EOF--'
|
|||
rm -f *.o
|
||||
.
|
||||
$a
|
||||
rm -f libem$1.a
|
||||
ar rc libem$1.a *.o
|
||||
cc -c -O -I$1 -I$EMHOME/modules/h -I$EMHOME/h $1/em.c
|
||||
cc -c -O -I$1 -I$EMHOME/modules/h -I$EMHOME/h $1/C_failed.c
|
||||
mv em.o em$1.o
|
||||
rm -f libem$1.a
|
||||
ar rc libem$1.a *.o
|
||||
ar r libem$1.a em$1.o C_failed.o
|
||||
rm -f *.o
|
||||
--EOF--
|
||||
.
|
||||
|
|
Loading…
Reference in a new issue