aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/reicast/files/patch-libswirl_deps_lua_luaconf.h
blob: c4dd21b707b4ff5b0eaf265d7ed23e8557ea0bf0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- 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