From 96fc1d1d194fe8d3fdb0c5ba4449e317fb1e8141 Mon Sep 17 00:00:00 2001
From: buda <mbudiselicbuda@gmail.com>
Date: Sat, 26 Sep 2015 01:01:25 +0200
Subject: [PATCH] speedy dependency and build modifications

---
 speedy/Makefile  |  2 +-
 speedy/README.md | 10 +++++++++-
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/speedy/Makefile b/speedy/Makefile
index 9406f6341..09735b990 100644
--- a/speedy/Makefile
+++ b/speedy/Makefile
@@ -1,6 +1,6 @@
 CXX=clang++
 CFLAGS=-std=c++11 -Wall
-LDFLAGS=-luv -lhttp_parser ./r3/.libs/libr3.a /usr/lib/x86_64-linux-gnu/libpcre.a
+LDFLAGS=-luv -lhttp_parser ./r3/.libs/libr3.a -L/usr/local/lib -lpcre
 # debug only
 INC=-I../ -g -O0 -fno-inline-functions
 SOURCES=$(wildcard *.cpp)
diff --git a/speedy/README.md b/speedy/README.md
index 19edc5494..1ed1cd657 100644
--- a/speedy/README.md
+++ b/speedy/README.md
@@ -18,13 +18,21 @@ make install -stdlib=libstdc++ -lstdc++ (OSX)
 make install
 ```
 
-* https://github.com/c9s/r3
+* https://github.com/c9s/r3 (git submodule)
 
 ```
 ./autogen.sh
 ./configure
 make
+```
+
+* http://pcre.org/ (version 8.35, R3 dependency)
+
+```
+./configure
+make
 sudo make install
+
 ```
 
 ## NOTE