Files
openGauss-third_party/buildtools/python/openssl.patch
2020-12-31 15:28:51 +08:00

18 lines
678 B
Diff

--- Setup.dist 2013-05-12 11:32:49.000000000 +0800
+++ Setup.dist 2020-10-29 19:39:10.989288162 +0800
@@ -215,10 +215,10 @@
# Socket module helper for SSL support; you must comment out the other
# socket line above, and possibly edit the SSL variable:
-#SSL=/usr/local/ssl
-#_ssl _ssl.c \
-# -DUSE_SSL -I$(SSL)/include -I$(SSL)/include/openssl \
-# -L$(SSL)/lib -lssl -lcrypto
+SSL=../../../../../dependency/openssl/install/comm
+_ssl _ssl.c \
+ -DUSE_SSL -I$(SSL)/include -I$(SSL)/include/openssl \
+ -L$(SSL)/lib -lssl -lcrypto
# The crypt module is now disabled by default because it breaks builds
# on many systems (where -lcrypt is needed), e.g. Linux (I believe).