mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-07 23:24:09 +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))
|
ifeq (Linux,$(TARGET_SYS))
|
||||||
TARGET_XLIBS+= -ldl
|
TARGET_XLIBS+= -ldl
|
||||||
endif
|
endif
|
||||||
|
ifeq (GNU/kFreeBSD,$(TARGET_SYS))
|
||||||
|
TARGET_XLIBS+= -ldl
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
#define LUA_DL_DLL
|
#define LUA_DL_DLL
|
||||||
#elif defined(__linux__) || defined(__solaris__) || defined(__CYGWIN__) || \
|
#elif defined(__linux__) || defined(__solaris__) || defined(__CYGWIN__) || \
|
||||||
defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || \
|
defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || \
|
||||||
(defined(__MACH__) && defined(__APPLE__))
|
defined(__FreeBSD_kernel__) || (defined(__MACH__) && defined(__APPLE__))
|
||||||
#define LUA_USE_POSIX
|
#define LUA_USE_POSIX
|
||||||
#define LUA_DL_DLOPEN
|
#define LUA_DL_DLOPEN
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user