Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpx/lua-cjson.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Pulford <mark@kyne.com.au>2011-05-15 18:16:24 +0400
committerMark Pulford <mark@kyne.com.au>2011-05-15 18:16:24 +0400
commit35e81a9c4143890771553c38dce0719630b37517 (patch)
treedf110a490299f153b036a7a1cf9f6e1c4bb66c15 /Makefile
parent132e8757bc800d51058e3e1e4d2d73a0279ca0ac (diff)
Add rockspec to build under LuaRocks
Remove "-lm" from LDFLAGS in Makefile since it breaks the build under Windows and isn't required under Linux. Math lib fix suggested by: Steve Donovan <steve.j.donovan@gmail.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 0 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e96d736..f28568f 100644
--- a/Makefile
+++ b/Makefile
@@ -18,7 +18,6 @@ LUA_LIB_DIR ?= $(PREFIX)/lib/lua/$(LUA_VERSION)
#CFLAGS ?= -g -Wall -pedantic -fno-inline
CFLAGS ?= -g -O3 -Wall -pedantic
override CFLAGS += -fpic -I$(LUA_INCLUDE_DIR) -DVERSION=\"$(CJSON_VERSION)\"
-LDFLAGS += -lm
INSTALL ?= install