Skip to content

Commit 505f577

Browse files
committed
doc: mentioned the bitop library dependency when using the standard Lua 5.1 interpreter. thanks Laurent Arnoud for the patch in #9.
1 parent 6c0b591 commit 505f577

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

README.markdown

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -536,10 +536,13 @@ It is recommended to use the latest [ngx_openresty bundle](http://openresty.org)
536536
is bundled and enabled by default. At least ngx_openresty 1.4.2.9 is required. And you need to enable LuaJIT when building your ngx_openresty
537537
bundle by passing the `--with-luajit` option to its `./configure` script. No extra Nginx configuration is required.
538538

539-
If you want to use this library with your own Nginx build (with ngx_lua), then you need to
540-
ensure you are using at least ngx_lua 0.9.0. Also, You need to configure
541-
the [lua_package_path](https://github.com/chaoslawful/lua-nginx-module#lua_package_path) directive to
542-
add the path of your lua-resty-websocket source tree to ngx_lua's Lua module search path, as in
539+
If you want to use this library with your own Nginx build (with ngx_lua), then
540+
you need to ensure you are using at least ngx_lua 0.9.0
541+
(and [lua-bitop](http://bitop.luajit.org/) library if you are not using LuaJIT).
542+
Also, You need to configure the
543+
[lua_package_path](https://github.com/chaoslawful/lua-nginx-module#lua_package_path)
544+
directive to add the path of your lua-resty-websocket source tree to ngx_lua's
545+
Lua module search path, as in
543546

544547
```nginx
545548
# nginx.conf

0 commit comments

Comments
 (0)