diff options
author | Brent Cook <busterb@gmail.com> | 2023-02-15 07:56:44 -0600 |
---|---|---|
committer | Brent Cook <busterb@gmail.com> | 2023-02-15 07:56:44 -0600 |
commit | 3c7747fd8bcaaf2eb2f901c34d573bae52fea0c5 (patch) | |
tree | 99051bae4bb93a8e36f9560dc39f0b85d52b3f6f /update.sh | |
parent | 20fb2bdb1197008f46c080b8539084c69b7a8c92 (diff) | |
download | portable-3c7747fd8bcaaf2eb2f901c34d573bae52fea0c5.tar.gz portable-3c7747fd8bcaaf2eb2f901c34d573bae52fea0c5.tar.bz2 portable-3c7747fd8bcaaf2eb2f901c34d573bae52fea0c5.zip |
generate opensslconf.h based on host cpu architecture
Diffstat (limited to 'update.sh')
-rwxr-xr-x | update.sh | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -70,7 +70,6 @@ fi | |||
70 | 70 | ||
71 | $CP $libssl_src/LICENSE COPYING | 71 | $CP $libssl_src/LICENSE COPYING |
72 | 72 | ||
73 | $CP $libcrypto_src/arch/amd64/opensslconf.h include/openssl | ||
74 | $CP $libcrypto_src/opensslfeatures.h include/openssl | 73 | $CP $libcrypto_src/opensslfeatures.h include/openssl |
75 | $CP $libssl_src/pqueue.h include | 74 | $CP $libssl_src/pqueue.h include |
76 | 75 | ||
@@ -152,6 +151,12 @@ for i in `awk '/SOURCES|HEADERS/ { print $3 }' crypto/Makefile.am` ; do | |||
152 | fi | 151 | fi |
153 | done | 152 | done |
154 | 153 | ||
154 | for i in $libcrypto_src/arch/*; do | ||
155 | arch=`basename $i` | ||
156 | mkdir -p include/arch/$arch | ||
157 | $CP $libcrypto_src/arch/$arch/opensslconf.h include/arch/$arch/ | ||
158 | done | ||
159 | |||
155 | for i in $libcrypto_src/bn/arch/*; do | 160 | for i in $libcrypto_src/bn/arch/*; do |
156 | arch=`basename $i` | 161 | arch=`basename $i` |
157 | mkdir -p crypto/bn/arch/$arch | 162 | mkdir -p crypto/bn/arch/$arch |