Commit 063ee7bb authored by Guido van Rossum's avatar Guido van Rossum

Fix Makefile so at least it uses Python 2.0, and compiles out of the

box on Linux.
parent 2cffc7d4
...@@ -13,7 +13,7 @@ OPT=-g ...@@ -13,7 +13,7 @@ OPT=-g
# Where Python is installed, and which version # Where Python is installed, and which version
INST=/usr/local INST=/usr/local
VER=1.5 VER=2.0
# Expressions using the above definitions -- no need to change # Expressions using the above definitions -- no need to change
PYVER=python$(VER) PYVER=python$(VER)
...@@ -28,7 +28,7 @@ PYLIBS=$(PYC)/lib$(PYVER).a ...@@ -28,7 +28,7 @@ PYLIBS=$(PYC)/lib$(PYVER).a
# Libraries to link with -- very installation dependent # Libraries to link with -- very installation dependent
# (See LIBS= in Modules/Makefile in build tree) # (See LIBS= in Modules/Makefile in build tree)
RLLIBS=-lreadline -ltermcap RLLIBS=-lreadline -ltermcap
OTHERLIBS=-lsocket -lnsl -lpthread -ldl -lm OTHERLIBS=-lnsl -lpthread -ldl -lm -ldb -lutil
# Compilation and link flags -- no need to change normally # Compilation and link flags -- no need to change normally
CFLAGS=$(PYINCL) $(OPT) CFLAGS=$(PYINCL) $(OPT)
......
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