Commit 2f0b411d authored by Sergey Lyubka's avatar Sergey Lyubka

Added -pthread flag to unix compilation example

parent e0aceb4f
...@@ -27,7 +27,7 @@ To compile it, put `mongoose.c`, `mongoose.h` and `app.c` into one ...@@ -27,7 +27,7 @@ To compile it, put `mongoose.c`, `mongoose.h` and `app.c` into one
folder, start terminal on UNIX or Visual Studio command line prompt on Windows, folder, start terminal on UNIX or Visual Studio command line prompt on Windows,
and run the following command: and run the following command:
cc app.c mongoose.c -o app # on Unix cc app.c mongoose.c -pthread -o app # on Unix
cl app.c mongoose.c /TC /MD # on Windows cl app.c mongoose.c /TC /MD # on Windows
When run, this simple application opens port 8080 and serves static files, When run, this simple application opens port 8080 and serves static files,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment