From 3ee8837d93976e3dfd19d7c1bc614f902b0d8227 Mon Sep 17 00:00:00 2001 From: Li-Wen Hsu Date: Tue, 18 Feb 2014 22:59:18 +0800 Subject: [PATCH] Update FreeBSD build instruction for linking with lua --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b061bfc..0818a6e 100644 --- a/README.md +++ b/README.md @@ -61,10 +61,11 @@ Install these ports: * devel/libconfig * devel/libexecinfo +* lang/lua52 Then build: - $ env CC=clang CFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib ./configure + $ env CC=clang CFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib LUA=/usr/local/bin/lua52 LUA_INCLUDE=-I/usr/local/include/lua52 LUA_LIB=-llua-5.2 ./configure $ make #### Other UNIX