ports/emulators/reicast/files/patch-libswirl_deps_lua_luaconf.h
Timothy Beyer afa8682087 emulators/reicast: fix i386 build
PR:	264218
Reported by:	beyert@cs.ucr.edu (maintainer)
2022-06-30 07:34:25 +02:00

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