From 2f0b411ddd7eb3c4749a72d6a8ab526d8b0aec45 Mon Sep 17 00:00:00 2001
From: Sergey Lyubka <valenok@gmail.com>
Date: Sun, 2 Mar 2014 13:00:44 +0000
Subject: [PATCH] Added -pthread flag to unix compilation example

---
 docs/Embed.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/Embed.md b/docs/Embed.md
index 68369bbe2..fe476ab93 100644
--- a/docs/Embed.md
+++ b/docs/Embed.md
@@ -27,8 +27,8 @@ 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,
 and run the following command:
 
-    cc app.c mongoose.c -o app    # on Unix
-    cl app.c mongoose.c /TC /MD   # on Windows
+    cc app.c mongoose.c -pthread -o app    # on Unix
+    cl app.c mongoose.c /TC /MD            # on Windows
 
 When run, this simple application opens port 8080 and serves static files,
 CGI files and lists directory content in the current working directory.
-- 
GitLab