File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ DEBUG_CFLAGS=
42
42
CC = gcc
43
43
INCLUDES =
44
44
# NOTE: try python-config first: if 2 and 3 are installed default is there
45
- PYCONF = $(shell which python-config 2> /dev/null || which python2 -config 2> /dev/null || which python3 -config 2> /dev/null)
45
+ PYCONF = $(shell which python-config 2> /dev/null || which python3 -config 2> /dev/null || which python2 -config 2> /dev/null)
46
46
DEFINES =$(MIG_DEFAULTS ) \
47
47
$(DEBUG_DEFINES )
48
48
CFLAGS =${DEBUG_CFLAGS} -Wall -Wpedantic $(shell ${PYCONF} --cflags)
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ DEBUG_CFLAGS=
41
41
42
42
CC = gcc
43
43
# NOTE: try python-config first: if 2 and 3 are installed default is there
44
- PYCONF = $(shell which python-config 2> /dev/null || which python2 -config 2> /dev/null || which python3 -config 2> /dev/null)
44
+ PYCONF = $(shell which python-config 2> /dev/null || which python3 -config 2> /dev/null || which python2 -config 2> /dev/null)
45
45
PYLDFLAGS = $(shell ${PYCONF} --ldflags --embed | egrep -v '^Usage: ' || ${PYCONF} --ldflags)
46
46
LIBPYTHON = $(shell echo ${PYLDFLAGS} | sed 's/.* -l\(python[^ ]\+\) .*/lib\1.so/g')
47
47
BUILD_DEFINES = -D'LIBPYTHON="${LIBPYTHON}"'
You can’t perform that action at this time.
0 commit comments