diff options
author | kinichiro <kinichiro.inoguchi@gmail.com> | 2016-12-26 21:53:29 +0900 |
---|---|---|
committer | kinichiro <kinichiro.inoguchi@gmail.com> | 2016-12-26 21:53:29 +0900 |
commit | 7054105fdedd9b6fb1b6a445b963b0339ff917f9 (patch) | |
tree | 2777f322cb1e27de1b6e081442b666295802285d /update.sh | |
parent | b5ebbf6b88b13cbf465fdc7d4101e4aa612f0ef9 (diff) | |
download | portable-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 'update.sh')
-rwxr-xr-x | update.sh | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -146,6 +146,11 @@ for i in `awk '/SOURCES|HEADERS/ { print $3 }' crypto/Makefile.am` ; do | |||
146 | done | 146 | done |
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 | ||
150 | grep '^[[:alpha:]]' < $libcrypto_src/Symbols.list > crypto/crypto.sym | ||
151 | echo EXPORTS > crypto/crypto.def | ||
152 | grep -v BIO_s_log crypto/crypto.sym >> crypto/crypto.def | ||
153 | cat crypto/crypto_win.list >> crypto/crypto.def | ||
149 | 154 | ||
150 | # generate assembly crypto algorithms | 155 | # generate assembly crypto algorithms |
151 | asm_src=$libcrypto_src | 156 | asm_src=$libcrypto_src |