added crypto_lock portable bits

This commit is contained in:
Brent Cook 2018-11-11 09:14:00 -06:00
parent ba2fe0e949
commit 1e2937e1a2
3 changed files with 6 additions and 0 deletions

View File

@ -213,6 +213,11 @@ endif
libcrypto_la_SOURCES += cpt_err.c
libcrypto_la_SOURCES += cryptlib.c
libcrypto_la_SOURCES += crypto_init.c
if !HOST_WIN
libcrypto_la_SOURCES += crypto_lock.c
else
libcrypto_la_SOURCES += crypto_lock_win.c
endif
libcrypto_la_SOURCES += cversion.c
libcrypto_la_SOURCES += ex_data.c
libcrypto_la_SOURCES += malloc-wrapper.c

View File

@ -154,6 +154,7 @@ for i in `awk '/SOURCES|HEADERS/ { print $3 }' crypto/Makefile.am` ; do
fi
done
$CP crypto/compat/b_win.c crypto/bio
$CP crypto/compat/crypto_lock_win.c crypto
$CP crypto/compat/ui_openssl_win.c crypto/ui
# add the libcrypto symbol export list
$GREP -v OPENSSL_ia32cap_P $libcrypto_src/Symbols.list | $GREP '^[A-Za-z0-9_]' > crypto/crypto.sym