From 1750971987b57238b49c2ad15a7126936551a37b Mon Sep 17 00:00:00 2001 From: Paul Kehrer Date: Wed, 26 Jul 2017 21:22:59 -0500 Subject: don't re-export the openssl symbols from our shared object (#3825) When linking the static lib we want the symbols to not be exported. To convince gcc to do this you must pass -Wl,--exclude-libs,ALL in CFLAGS More info at https://stackoverflow.com/questions/2222162 --- .jenkins/Jenkinsfile-cryptography-wheel-builder | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.jenkins/Jenkinsfile-cryptography-wheel-builder') diff --git a/.jenkins/Jenkinsfile-cryptography-wheel-builder b/.jenkins/Jenkinsfile-cryptography-wheel-builder index e0ed164c..c59dba66 100644 --- a/.jenkins/Jenkinsfile-cryptography-wheel-builder +++ b/.jenkins/Jenkinsfile-cryptography-wheel-builder @@ -136,7 +136,7 @@ def build(version, label, imageName) { $linux32 /opt/python/$version/bin/pip install cffi six idna asn1crypto ipaddress enum34 LDFLAGS="-L/opt/pyca/cryptography/openssl/lib" \ - CFLAGS="-I/opt/pyca/cryptography/openssl/include" \ + CFLAGS="-I/opt/pyca/cryptography/openssl/include -Wl,--exclude-libs,ALL" \ $linux32 /opt/python/$version/bin/pip wheel cryptography==$BUILD_VERSION -w tmpwheelhouse/ --no-binary cryptography --no-deps $linux32 auditwheel repair tmpwheelhouse/cryptography*.whl -w wheelhouse/ $linux32 /opt/python/$version/bin/pip install cryptography==$BUILD_VERSION --no-index -f wheelhouse/ -- cgit v1.2.3