c9s / r3

libr3 is a high-performance path dispatching library. It compiles your route paths into a prefix tree (trie). By using the constructed prefix trie in the start-up time, you may dispatch your routes with efficiency
http://c9s.github.com/r3/bench.html
MIT License
813 stars 83 forks source link

fix : build failed since cannot find pcre lib on centos #132 #133

Closed zhiyong0804 closed 4 years ago

zhiyong0804 commented 4 years ago

add with-pcre option to fix this issue, if no pcre option will link default pcre-config file, otherwise link target pcre-config file, such as /usr/local/bin/pcre-config.

add with-cc-opt and with-ld-opt to add C compiler and link option.

membphis commented 4 years ago

it seems a duplicated PR with https://github.com/c9s/r3/pull/133

and that is an older one, can we close it?