flua: support "require" for binary objects in the base system
Export symbols from flua, and enable dlopen. Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D26059
This commit is contained in:
parent
67743df245
commit
2ecb4c7b2f
@ -75,6 +75,7 @@
|
||||
/* Local modifications: need io.popen */
|
||||
#ifdef __FreeBSD__
|
||||
#define LUA_USE_POSIX
|
||||
#define LUA_USE_DLOPEN
|
||||
#endif
|
||||
|
||||
/*
|
||||
|
@ -38,4 +38,6 @@ SRCS+= lua_ucl.c
|
||||
CFLAGS+= -I${UCLSRC}/include -I${UCLSRC}/src -I${UCLSRC}/uthash
|
||||
LIBADD+= ucl
|
||||
|
||||
LDFLAGS+= -Wl,-E
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user