diff options
author | Brent Cook <busterb@gmail.com> | 2016-11-05 08:44:35 -0500 |
---|---|---|
committer | kinichiro <kinichiro.inoguchi@gmail.com> | 2016-11-06 00:24:12 +0900 |
commit | 7770e4f2e4b85fd8bf3123b16a7b30fb22f9f68b (patch) | |
tree | 74f317ae0cc4e6292570330adfd1f13845cc08b3 /update.sh | |
parent | 348362416d79760320d9120bbc0b653fb2a2e838 (diff) | |
download | portable-7770e4f2e4b85fd8bf3123b16a7b30fb22f9f68b.tar.gz portable-7770e4f2e4b85fd8bf3123b16a7b30fb22f9f68b.tar.bz2 portable-7770e4f2e4b85fd8bf3123b16a7b30fb22f9f68b.zip |
implement support for hiding symbols in libtls / libssl
Diffstat (limited to 'update.sh')
-rwxr-xr-x | update.sh | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -199,6 +199,10 @@ for i in `awk '/SOURCES|HEADERS/ { print $3 }' tls/Makefile.am` ; do | |||
199 | $CP $libtls_src/$i libtls-standalone/src | 199 | $CP $libtls_src/$i libtls-standalone/src |
200 | fi | 200 | fi |
201 | done | 201 | done |
202 | # add the libtls symbol export list | ||
203 | grep '^[[:alpha:]]' < $libtls_src/Symbols.list > tls/tls.sym | ||
204 | echo EXPORTS > tls/tls.def | ||
205 | cat tls/tls.sym >> tls/tls.def | ||
202 | 206 | ||
203 | $CP_LIBC $libc_src/string/strsep.c tls | 207 | $CP_LIBC $libc_src/string/strsep.c tls |
204 | $CP_LIBC $libc_src/string/strsep.c libtls-standalone/compat | 208 | $CP_LIBC $libc_src/string/strsep.c libtls-standalone/compat |
@@ -240,6 +244,10 @@ rm -f ssl/*.c ssl/*.h | |||
240 | for i in `awk '/SOURCES|HEADERS/ { print $3 }' ssl/Makefile.am` ; do | 244 | for i in `awk '/SOURCES|HEADERS/ { print $3 }' ssl/Makefile.am` ; do |
241 | $CP $libssl_src/$i ssl | 245 | $CP $libssl_src/$i ssl |
242 | done | 246 | done |
247 | # add the libssl symbol export list | ||
248 | grep '^[[:alpha:]]' < $libssl_src/Symbols.list > ssl/ssl.sym | ||
249 | echo EXPORTS > ssl/ssl.def | ||
250 | cat ssl/ssl.sym >> ssl/ssl.def | ||
243 | 251 | ||
244 | # copy libcrypto tests | 252 | # copy libcrypto tests |
245 | echo "copying tests" | 253 | echo "copying tests" |