Kaydet (Commit) 38d3fe01 authored tarafından Guido van Rossum's avatar Guido van Rossum

Add LINKFORSHARED and LDLAST as in the main Makefile.

üst 4912beb9
...@@ -117,6 +117,7 @@ LINKCC= @LINKCC@ ...@@ -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) ...@@ -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 \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment