summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPixel <pixel@nobis-crew.org>2009-10-20 01:43:15 +0200
committerPixel <pixel@nobis-crew.org>2009-10-20 01:43:15 +0200
commitf72f4af5a9f85ed607507dea95ebfa6a62f98e89 (patch)
treea94efc948df79f586f2f03195acc7dc5169dfdbc /src
parent20722ea0f5a136a3339156650f210fe30019fcfd (diff)
How was lua-interface-light.exe compiling before that... ?
Diffstat (limited to 'src')
-rw-r--r--src/plugin-luaconfigfiles.cc4
-rw-r--r--src/plugin-luaftgl.cc4
-rw-r--r--src/plugin-luagl.cc4
-rw-r--r--src/plugin-luahandle.cc4
-rw-r--r--src/plugin-luahttp.cc4
-rw-r--r--src/plugin-lualibs.cc4
-rw-r--r--src/plugin-luaocci.cc4
-rw-r--r--src/plugin-luaosmesa.cc4
-rw-r--r--src/plugin-luarand.cc4
-rw-r--r--src/plugin-luaregex.cc4
-rw-r--r--src/plugin-luasmtp.cc4
-rw-r--r--src/plugin-luasql.cc4
-rw-r--r--src/plugin-luatask.cc4
-rw-r--r--src/plugin-luaxml.cc4
14 files changed, 56 insertions, 0 deletions
diff --git a/src/plugin-luaconfigfiles.cc b/src/plugin-luaconfigfiles.cc
index 5b7ace8..5904a22 100644
--- a/src/plugin-luaconfigfiles.cc
+++ b/src/plugin-luaconfigfiles.cc
@@ -1,5 +1,9 @@
#include <LuaConfigFile.h>
+#ifdef FROM_LUAINTERFACE
+#define NO_DLL
+#endif
+
#ifndef WIN32
#define WEAK __attribute__ ((weak))
#else
diff --git a/src/plugin-luaftgl.cc b/src/plugin-luaftgl.cc
index 95f23f0..16799a3 100644
--- a/src/plugin-luaftgl.cc
+++ b/src/plugin-luaftgl.cc
@@ -1,5 +1,9 @@
#include <LuaFTGL.h>
+#ifdef FROM_LUAINTERFACE
+#define NO_DLL
+#endif
+
#ifndef WIN32
#define WEAK __attribute__ ((weak))
#else
diff --git a/src/plugin-luagl.cc b/src/plugin-luagl.cc
index fe7c525..b823afe 100644
--- a/src/plugin-luagl.cc
+++ b/src/plugin-luagl.cc
@@ -1,5 +1,9 @@
#include <LuaGL.h>
+#ifdef FROM_LUAINTERFACE
+#define NO_DLL
+#endif
+
#ifndef WIN32
#define WEAK __attribute__ ((weak))
#else
diff --git a/src/plugin-luahandle.cc b/src/plugin-luahandle.cc
index 9049311..096ad17 100644
--- a/src/plugin-luahandle.cc
+++ b/src/plugin-luahandle.cc
@@ -1,5 +1,9 @@
#include <LuaHandle.h>
+#ifdef FROM_LUAINTERFACE
+#define NO_DLL
+#endif
+
#ifndef WIN32
#define WEAK __attribute__ ((weak))
#else
diff --git a/src/plugin-luahttp.cc b/src/plugin-luahttp.cc
index 4304f24..68986b2 100644
--- a/src/plugin-luahttp.cc
+++ b/src/plugin-luahttp.cc
@@ -1,5 +1,9 @@
#include <LuaHttp.h>
+#ifdef FROM_LUAINTERFACE
+#define NO_DLL
+#endif
+
#ifndef WIN32
#define WEAK __attribute__ ((weak))
#else
diff --git a/src/plugin-lualibs.cc b/src/plugin-lualibs.cc
index 5a5de03..8fa4b11 100644
--- a/src/plugin-lualibs.cc
+++ b/src/plugin-lualibs.cc
@@ -1,5 +1,9 @@
#include <loadlualibs.h>
+#ifdef FROM_LUAINTERFACE
+#define NO_DLL
+#endif
+
#ifndef WIN32
#define WEAK __attribute__ ((weak))
#else
diff --git a/src/plugin-luaocci.cc b/src/plugin-luaocci.cc
index 3d8a445..6c0127e 100644
--- a/src/plugin-luaocci.cc
+++ b/src/plugin-luaocci.cc
@@ -1,5 +1,9 @@
#include <LuaOCCI.h>
+#ifdef FROM_LUAINTERFACE
+#define NO_DLL
+#endif
+
#ifndef WIN32
#define WEAK __attribute__ ((weak))
#else
diff --git a/src/plugin-luaosmesa.cc b/src/plugin-luaosmesa.cc
index b5e24e2..2f4e787 100644
--- a/src/plugin-luaosmesa.cc
+++ b/src/plugin-luaosmesa.cc
@@ -14,6 +14,10 @@
#include <LuaHandle.h>
#include <BLua.h>
+#ifdef FROM_LUAINTERFACE
+#define NO_DLL
+#endif
+
#ifndef WIN32
#define WEAK __attribute__ ((weak))
#else
diff --git a/src/plugin-luarand.cc b/src/plugin-luarand.cc
index ea0ad30..5cb6db5 100644
--- a/src/plugin-luarand.cc
+++ b/src/plugin-luarand.cc
@@ -1,3 +1,7 @@
+#ifdef FROM_LUAINTERFACE
+#define NO_DLL
+#endif
+
#ifndef WIN32
#define WEAK __attribute__ ((weak))
#else
diff --git a/src/plugin-luaregex.cc b/src/plugin-luaregex.cc
index 5bb9f41..5c2a2aa 100644
--- a/src/plugin-luaregex.cc
+++ b/src/plugin-luaregex.cc
@@ -1,5 +1,9 @@
#include <LuaRegex.h>
+#ifdef FROM_LUAINTERFACE
+#define NO_DLL
+#endif
+
#ifndef WIN32
#define WEAK __attribute__ ((weak))
#else
diff --git a/src/plugin-luasmtp.cc b/src/plugin-luasmtp.cc
index 4c62060..00a713b 100644
--- a/src/plugin-luasmtp.cc
+++ b/src/plugin-luasmtp.cc
@@ -1,5 +1,9 @@
#include <LuaSmtp.h>
+#ifdef FROM_LUAINTERFACE
+#define NO_DLL
+#endif
+
#ifndef WIN32
#define WEAK __attribute__ ((weak))
#else
diff --git a/src/plugin-luasql.cc b/src/plugin-luasql.cc
index 0f38fb6..eba3595 100644
--- a/src/plugin-luasql.cc
+++ b/src/plugin-luasql.cc
@@ -1,5 +1,9 @@
#include <LuaSQL.h>
+#ifdef FROM_LUAINTERFACE
+#define NO_DLL
+#endif
+
#ifndef WIN32
#define WEAK __attribute__ ((weak))
#else
diff --git a/src/plugin-luatask.cc b/src/plugin-luatask.cc
index b1b8e3d..ffd1814 100644
--- a/src/plugin-luatask.cc
+++ b/src/plugin-luatask.cc
@@ -1,5 +1,9 @@
#include <LuaTask.h>
+#ifdef FROM_LUAINTERFACE
+#define NO_DLL
+#endif
+
#ifndef WIN32
#define WEAK __attribute__ ((weak))
#else
diff --git a/src/plugin-luaxml.cc b/src/plugin-luaxml.cc
index e6e579d..f2ba1b6 100644
--- a/src/plugin-luaxml.cc
+++ b/src/plugin-luaxml.cc
@@ -1,5 +1,9 @@
#include <LuaXML.h>
+#ifdef FROM_LUAINTERFACE
+#define NO_DLL
+#endif
+
#ifndef WIN32
#define WEAK __attribute__ ((weak))
#else