Skip to content
Snippets Groups Projects
Commit 00c692be authored by Bruce Flynn's avatar Bruce Flynn
Browse files

make sure libpython is not linked

parent 5fe26ab4
No related branches found
No related tags found
No related merge requests found
......@@ -7,6 +7,7 @@ RUN yum install -y epel-release && \
git \
ceph-common \
librados-devel \
patch \
bzip2 \
centos-release-scl
RUN yum install -y devtoolset-7-gcc-c++
......@@ -26,6 +27,9 @@ WORKDIR /ceph/src/pybind/rados
RUN mkdir -p /wheelhouse
COPY build.sh .
COPY ldflag.patch .
RUN patch setup.py ldflag.patch
RUN conda create -n py27 "python <3" cython wheel && \
rm -rf build dist && \
scl enable devtoolset-7 "./build.sh py27"
......
49c49
< if ldflag.startswith('-l'):
---
> if ldflag.startswith('-l') and not ldflag.startswith('-lpython'):
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment