Incorporate LDFLAGS calculated by configure (for --with-readline)

This commit is contained in:
Guido van Rossum 1996-08-19 21:59:32 +00:00
parent 84e7b248f0
commit 07b983da99
1 changed files with 3 additions and 2 deletions

View File

@ -24,6 +24,7 @@ RANLIB= @RANLIB@
AR= @AR@ AR= @AR@
OPT= @OPT@ OPT= @OPT@
LDFLAGS= @LDFLAGS@
DEFS= @DEFS@ DEFS= @DEFS@
LIBS= @LIBS@ LIBS= @LIBS@
@ -107,7 +108,7 @@ all: $(LIB) ../python sharedmods
asharedmodule: $(ASHAREDMODULE)$(SO) asharedmodule: $(ASHAREDMODULE)$(SO)
$(ASHAREDMODULE)$(SO): $(ASHAREDMODULESOBS) $(ASHAREDMODULE)$(SO): $(ASHAREDMODULESOBS)
$(LDSHARED) -o $(ASHAREDMODULE)$(SO) $(ASHAREDMODULESOBS) \ $(LDSHARED) $(LDFLAGS) -o $(ASHAREDMODULE)$(SO) $(ASHAREDMODULESOBS) \
$(ASHAREDMODULESEXTRA) $(ASHAREDMODULESEXTRA)
$(LIB): $& $(OBJS) Makefile $(LIB): $& $(OBJS) Makefile
@ -116,7 +117,7 @@ $(LIB): $& $(OBJS) Makefile
$(RANLIB) $(LIB) $(RANLIB) $(LIB)
../python: $(MYLIBS) $(ADDOBJS) Makefile ../python: $(MYLIBS) $(ADDOBJS) Makefile
$(LINKCC) $(OPT) $(LINKFORSHARED) $(ADDOBJS) \ $(LINKCC) $(LDFLAGS) $(OPT) $(LINKFORSHARED) $(ADDOBJS) \
$(MYLIBS) $(MODLIBS) $(LIBS) $(SYSLIBS) -o python $(MYLIBS) $(MODLIBS) $(LIBS) $(SYSLIBS) -o python
mv python ../python mv python ../python