acl/lib_fiber/samples/https_server/t.sh
2020-01-06 15:29:03 +08:00

9 lines
285 B
Bash
Executable File

#!/bin/sh
os=$(echo `uname -s`)
if [ $os == "Darwin" ]; then
./httpd -l "../libmbedcrypto.dylib;../libmbedx509.dylib;../libmbedtls.dylib" -c ./ssl_crt.pem -k ./ssl_key.pem
else
./httpd -l "../libmbedcrypto.so;../libmbedx509.so;../libmbedtls.so" -c ./ssl_crt.pem -k ./ssl_key.pem
fi