You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
897 B
26 lines
897 B
6 years ago
|
diff --git a/src/Makefile b/src/Makefile
|
||
|
index 7b4b2b7..395d5ba 100644
|
||
|
--- a/src/Makefile
|
||
|
+++ b/src/Makefile
|
||
|
@@ -103,7 +103,7 @@ freebsd:
|
||
|
generic: $(ALL)
|
||
|
|
||
|
linux:
|
||
|
- $(MAKE) $(ALL) SYSCFLAGS="-DLUA_USE_LINUX" SYSLIBS="-Wl,-E -ldl -lreadline"
|
||
6 years ago
|
+ $(MAKE) $(ALL) SYSCFLAGS="-DLUA_USE_LINUX" SYSLIBS="-Wl,-E -ldl"
|
||
6 years ago
|
|
||
|
macosx:
|
||
|
$(MAKE) $(ALL) SYSCFLAGS="-DLUA_USE_MACOSX" SYSLIBS="-lreadline" CC=cc
|
||
|
diff --git a/src/luaconf.h b/src/luaconf.h
|
||
|
index 18be9a9..131747b 100644
|
||
|
--- a/src/luaconf.h
|
||
|
+++ b/src/luaconf.h
|
||
|
@@ -43,7 +43,6 @@
|
||
|
#if defined(LUA_USE_LINUX)
|
||
|
#define LUA_USE_POSIX
|
||
|
#define LUA_USE_DLOPEN /* needs an extra library: -ldl */
|
||
|
-#define LUA_USE_READLINE /* needs some extra libraries */
|
||
|
#define LUA_USE_STRTODHEX /* assume 'strtod' handles hex formats */
|
||
|
#define LUA_USE_AFORMAT /* assume 'printf' handles 'aA' specifiers */
|
||
|
#define LUA_USE_LONGLONG /* assume support for long long */
|