Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 063ee7b

Browse files
committed
Fix Makefile so at least it uses Python 2.0, and compiles out of the
box on Linux.
1 parent 2cffc7d commit 063ee7b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Demo/pysvr/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ OPT=-g
1313

1414
# Where Python is installed, and which version
1515
INST=/usr/local
16-
VER=1.5
16+
VER=2.0
1717

1818
# Expressions using the above definitions -- no need to change
1919
PYVER=python$(VER)
@@ -28,7 +28,7 @@ PYLIBS=$(PYC)/lib$(PYVER).a
2828
# Libraries to link with -- very installation dependent
2929
# (See LIBS= in Modules/Makefile in build tree)
3030
RLLIBS=-lreadline -ltermcap
31-
OTHERLIBS=-lsocket -lnsl -lpthread -ldl -lm
31+
OTHERLIBS=-lnsl -lpthread -ldl -lm -ldb -lutil
3232

3333
# Compilation and link flags -- no need to change normally
3434
CFLAGS=$(PYINCL) $(OPT)

0 commit comments

Comments
 (0)