aboutsummaryrefslogtreecommitdiff
path: root/update.sh
diff options
context:
space:
mode:
authorkinichiro <kinichiro.inoguchi@gmail.com>2016-12-26 21:53:29 +0900
committerkinichiro <kinichiro.inoguchi@gmail.com>2016-12-26 21:53:29 +0900
commit7054105fdedd9b6fb1b6a445b963b0339ff917f9 (patch)
tree2777f322cb1e27de1b6e081442b666295802285d /update.sh
parentb5ebbf6b88b13cbf465fdc7d4101e4aa612f0ef9 (diff)
downloadportable-7054105fdedd9b6fb1b6a445b963b0339ff917f9.tar.gz
portable-7054105fdedd9b6fb1b6a445b963b0339ff917f9.tar.bz2
portable-7054105fdedd9b6fb1b6a445b963b0339ff917f9.zip
implement support for hiding symbols in libcrypto
- delete crypto.def and generate it from Symbols.list - remove BIO_s_log since bss_log.c is not included on Windows - add Windows specific symbols by crypto/crypto_win.list
Diffstat (limited to '')
-rwxr-xr-xupdate.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/update.sh b/update.sh
index 98a9aaa..335c5af 100755
--- a/update.sh
+++ b/update.sh
@@ -146,6 +146,11 @@ for i in `awk '/SOURCES|HEADERS/ { print $3 }' crypto/Makefile.am` ; do
146done 146done
147$CP crypto/compat/b_win.c crypto/bio 147$CP crypto/compat/b_win.c crypto/bio
148$CP crypto/compat/ui_openssl_win.c crypto/ui 148$CP crypto/compat/ui_openssl_win.c crypto/ui
149# add the libcrypto symbol export list
150grep '^[[:alpha:]]' < $libcrypto_src/Symbols.list > crypto/crypto.sym
151echo EXPORTS > crypto/crypto.def
152grep -v BIO_s_log crypto/crypto.sym >> crypto/crypto.def
153cat crypto/crypto_win.list >> crypto/crypto.def
149 154
150# generate assembly crypto algorithms 155# generate assembly crypto algorithms
151asm_src=$libcrypto_src 156asm_src=$libcrypto_src