summaryrefslogtreecommitdiff
path: root/src/plugin-luaxml.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugin-luaxml.cc')
-rw-r--r--src/plugin-luaxml.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugin-luaxml.cc b/src/plugin-luaxml.cc
index cee1132..e6e579d 100644
--- a/src/plugin-luaxml.cc
+++ b/src/plugin-luaxml.cc
@@ -16,9 +16,11 @@ static void _init_plugin(Lua * L) {
extern "C" {
+#ifndef NO_DLL
WEAK void init_plugin(Lua * L) {
_init_plugin(L);
}
+#endif
void luaxml_init(Lua * L) {
_init_plugin(L);