mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Add LINKFORSHARED and LDLAST as in the main Makefile.
This commit is contained in:
parent
4912beb9d8
commit
38d3fe012e
1 changed files with 4 additions and 2 deletions
|
@ -117,6 +117,7 @@ LINKCC= @LINKCC@
|
||||||
SGI_ABI= @SGI_ABI@
|
SGI_ABI= @SGI_ABI@
|
||||||
OPT= @OPT@
|
OPT= @OPT@
|
||||||
LDFLAGS= @LDFLAGS@
|
LDFLAGS= @LDFLAGS@
|
||||||
|
LDLAST= @LDLAST@
|
||||||
DEFS= @DEFS@
|
DEFS= @DEFS@
|
||||||
LIBS= @LIBS@
|
LIBS= @LIBS@
|
||||||
LIBM= @LIBM@
|
LIBM= @LIBM@
|
||||||
|
@ -190,9 +191,10 @@ sharedmods: $(SHAREDMODS)
|
||||||
# Build a static Python binary containing our extension modules
|
# Build a static Python binary containing our extension modules
|
||||||
static: $(TARGET)
|
static: $(TARGET)
|
||||||
$(TARGET): $(ADDOBJS) lib.a $(PYTHONLIBS) Makefile $(BASELIB)
|
$(TARGET): $(ADDOBJS) lib.a $(PYTHONLIBS) Makefile $(BASELIB)
|
||||||
$(CC) $(LDFLAGS) $(ADDOBJS) lib.a $(PYTHONLIBS) \
|
$(LINKCC) $(LDFLAGS) $(LINKFORSHARED) \
|
||||||
|
$(ADDOBJS) lib.a $(PYTHONLIBS) \
|
||||||
$(LINKPATH) $(BASELIB) $(MODLIBS) $(LIBS) $(SYSLIBS) \
|
$(LINKPATH) $(BASELIB) $(MODLIBS) $(LIBS) $(SYSLIBS) \
|
||||||
-o $(TARGET)
|
-o $(TARGET) $(LDLAST)
|
||||||
|
|
||||||
install: sharedmods
|
install: sharedmods
|
||||||
if test ! -d $(DESTSHARED) ; then \
|
if test ! -d $(DESTSHARED) ; then \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue