mirror of
https://github.com/python/cpython.git
synced 2024-11-29 21:05:33 +08:00
When we have signalmodule.o, remove intrcheck.o as well as sigcheck.o.
This commit is contained in:
parent
aa61505fd2
commit
4f46fc6d57
@ -111,12 +111,13 @@ $(ASHAREDMODULE)$(SO): $(ASHAREDMODULESOBS)
|
|||||||
$(ASHAREDMODULESEXTRA)
|
$(ASHAREDMODULESEXTRA)
|
||||||
|
|
||||||
# This target is used by the master Makefile to add the objects to the library.
|
# This target is used by the master Makefile to add the objects to the library.
|
||||||
# To deal with the conflict between signalmodule.o and sigcheck.o,
|
# To deal with the conflict between signalmodule.o and
|
||||||
# we remove the latter if we have the former.
|
# sigcheck.o+intrcheck.o, we remove the latter two if we have the former.
|
||||||
add2lib: $(OBJS)
|
add2lib: $(OBJS)
|
||||||
$(AR) cr $(LIBRARY) $(OBJS)
|
$(AR) cr $(LIBRARY) $(OBJS)
|
||||||
-if ar x $(LIBRARY) signalmodule.o 2>/dev/null; \
|
-if ar x $(LIBRARY) signalmodule.o 2>/dev/null; \
|
||||||
then ar d $(LIBRARY) sigcheck.o 2>/dev/null; true; \
|
then \
|
||||||
|
ar d $(LIBRARY) sigcheck.o intrcheck.o 2>/dev/null; true; \
|
||||||
else true; fi
|
else true; fi
|
||||||
touch add2lib
|
touch add2lib
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user