openbsd-ports/lang/lua/5.2/patches/patch-src_luaconf_h
2012-07-10 15:06:21 +00:00

14 lines
414 B
Plaintext

$OpenBSD: patch-src_luaconf_h,v 1.1 2012/07/10 15:06:21 jasper Exp $
--- src/luaconf.h.orig Thu May 10 22:53:52 2012
+++ src/luaconf.h Thu May 10 22:54:16 2012
@@ -39,8 +39,7 @@
#endif
-
-#if defined(LUA_USE_LINUX)
+#if defined(LUA_USE_BSD) || 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 */