mirror of
https://git.freebsd.org/ports.git
synced 2025-06-08 06:10:30 -04:00
14 lines
421 B
C
14 lines
421 B
C
--- libswirl/deps/lua/luaconf.h.orig 2020-10-18 11:22:48 UTC
|
|
+++ libswirl/deps/lua/luaconf.h
|
|
@@ -64,6 +64,11 @@
|
|
#define LUA_USE_READLINE /* needs some extra libraries */
|
|
#endif
|
|
|
|
+#if defined(LUA_USE_FREEBSD)
|
|
+#define LUA_USE_POSIX
|
|
+#define LUA_USE_DLOPEN /* FreeBSD does not need -ldl */
|
|
+#define LUA_USE_READLINE /* needs an extra library: -lreadline */
|
|
+#endif
|
|
|
|
#if defined(LUA_USE_MACOSX)
|
|
#define LUA_USE_POSIX
|