Commit 2ac8587d authored by Godefroid Chapelle's avatar Godefroid Chapelle

Problem: 3.5 does not find zlib

Solution: be explicit where to find it
parent 41f70f2c
OPENSSL = $(shell brew --prefix openssl) OPENSSL = $(shell brew --prefix openssl)
ZLIB = $(shell brew --prefix zlib)
ifeq ($(PYTHON_VER),2.7) ifeq ($(PYTHON_VER),2.7)
BUILD_VARIABLES = LDFLAGS="-L$(OPENSSL)/lib" CPPFLAGS="-I$(OPENSSL)/include" BUILD_VARIABLES = LDFLAGS="-L$(OPENSSL)/lib" CPPFLAGS="-I$(OPENSSL)/include"
PYTHON_CONFIGURE_ARGS ?= PYTHON_CONFIGURE_ARGS ?=
endif endif
ifeq ($(PYTHON_VER),3.5) ifeq ($(PYTHON_VER),3.5)
BUILD_VARIABLES = LDFLAGS="-L$(OPENSSL)/lib" CPPFLAGS="-I$(OPENSSL)/include" BUILD_VARIABLES = LDFLAGS="-L$(OPENSSL)/lib -L$(ZLIB)/lib" CPPFLAGS="-I$(OPENSSL)/include -I$(ZLIB)/include"
PYTHON_CONFIGURE_ARGS ?= PYTHON_CONFIGURE_ARGS ?=
endif endif
ifeq ($(PYTHON_VER),3.6) ifeq ($(PYTHON_VER),3.6)
......
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