em?.o and C_failed.o must be at the end of the archive
This commit is contained in:
parent
9c064e3384
commit
3e84b09b85
@ -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…
x
Reference in New Issue
Block a user