This commit makes the toolchain easier to use in two folds: 1. When compiling C/C++ source files, no need to add "-fPIC -pie" flags manually; 2. When running executables generated by the Occlum toolchain on Linux, no need to set the `LD_LIBRARY_PATH` manually.
11 lines
244 B
Bash
Executable File
11 lines
244 B
Bash
Executable File
#!/bin/bash
|
|
https_server=simplest_web_server_ssl
|
|
set -e
|
|
|
|
# 1. Copy files
|
|
cp -f mongoose_src/examples/simplest_web_server_ssl/$https_server .
|
|
cp -rf mongoose_src/examples/simplest_web_server_ssl/server.* .
|
|
|
|
# 2. Run https_server
|
|
./$https_server
|