mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-07 15:14:08 +00:00
Properly compile on Debian kFreeBSD.
This commit is contained in:
parent
a1d4d05f2c
commit
34d716947c
@ -211,6 +211,9 @@ else
|
||||
ifeq (Linux,$(TARGET_SYS))
|
||||
TARGET_XLIBS+= -ldl
|
||||
endif
|
||||
ifeq (GNU/kFreeBSD,$(TARGET_SYS))
|
||||
TARGET_XLIBS+= -ldl
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
|
@ -15,7 +15,7 @@
|
||||
#define LUA_DL_DLL
|
||||
#elif defined(__linux__) || defined(__solaris__) || defined(__CYGWIN__) || \
|
||||
defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || \
|
||||
(defined(__MACH__) && defined(__APPLE__))
|
||||
defined(__FreeBSD_kernel__) || (defined(__MACH__) && defined(__APPLE__))
|
||||
#define LUA_USE_POSIX
|
||||
#define LUA_DL_DLOPEN
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user