Commit 0f951100 authored by Domen Kožar's avatar Domen Kožar

travis: another try for zlib

parent 93274d13
...@@ -41,8 +41,11 @@ ifeq ($(PYTHON_VER),2.6) ...@@ -41,8 +41,11 @@ ifeq ($(PYTHON_VER),2.6)
patch -p0 < ../ssl.txt patch -p0 < ../ssl.txt
endif endif
cd $(PYTHON_PATH)/$(PYTHON_ARCHIVE) && \ cd $(PYTHON_PATH)/$(PYTHON_ARCHIVE) && \
./configure LDFLAGS="-L/usr/lib/$(ARCH) -L/lib/$(ARCH)" --prefix $(PYTHON_PATH) --with-zlib=/usr/include && \ ./configure LDFLAGS="-L/usr/lib/$(ARCH) -L/lib/$(ARCH)" --prefix $(PYTHON_PATH) --with-zlib=$(PYTHON_PATH)/include && \
make && \ ifeq ($(PYTHON_VER),2.4)
sed -i "s/^#zlib/zlib/g" $(PYTHON_PATH)/$(PYTHON_ARCHIVE)/Modules/Setup
endif
make && \
make install >/dev/null 2>&1 make install >/dev/null 2>&1
@echo "Finished installing Python" @echo "Finished installing Python"
......
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