Skip to content

Make it compile under Ubuntu-20.04 and possibly other versions #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ PYTHON_LIB ?= $(PYTHON_TOP)/lib/$(PYTHON_VER)
#
PYTHON_INCLUDE ?= $(PYTHON_TOP)/include/$(PYTHON_VER)

PYTHON_CONFIG ?= $(shell $(PYTHON_VER)-config --configdir)

## YACC should be set to your yacc equivalent if it's not called
## 'yacc'. For example,
## YACC=bison; export YACC
Expand Down Expand Up @@ -298,8 +300,8 @@ y.tab.c: grammar.y
#--------------------------------------------------------------------------
# Configuration file for Python module set

config.o : $(PYTHON_LIB)/config/config.c
$(CC) $(CFLAGS) -DNO_MAIN -c $(PYTHON_LIB)/config/config.c
config.o : $(PYTHON_CONFIG)/config.c
$(CC) $(CFLAGS) -DNO_MAIN -c $<

#--------------------------------------------------------------------------
# Dependencies
Expand Down
Empty file modified hostinfo
100644 → 100755
Empty file.
Empty file modified setup
100644 → 100755
Empty file.