From f72f4af5a9f85ed607507dea95ebfa6a62f98e89 Mon Sep 17 00:00:00 2001 From: Pixel Date: Tue, 20 Oct 2009 01:43:15 +0200 Subject: How was lua-interface-light.exe compiling before that... ? --- src/plugin-luaconfigfiles.cc | 4 ++++ src/plugin-luaftgl.cc | 4 ++++ src/plugin-luagl.cc | 4 ++++ src/plugin-luahandle.cc | 4 ++++ src/plugin-luahttp.cc | 4 ++++ src/plugin-lualibs.cc | 4 ++++ src/plugin-luaocci.cc | 4 ++++ src/plugin-luaosmesa.cc | 4 ++++ src/plugin-luarand.cc | 4 ++++ src/plugin-luaregex.cc | 4 ++++ src/plugin-luasmtp.cc | 4 ++++ src/plugin-luasql.cc | 4 ++++ src/plugin-luatask.cc | 4 ++++ src/plugin-luaxml.cc | 4 ++++ 14 files changed, 56 insertions(+) (limited to 'src') 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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 #include +#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 +#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 +#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 +#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 +#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 +#ifdef FROM_LUAINTERFACE +#define NO_DLL +#endif + #ifndef WIN32 #define WEAK __attribute__ ((weak)) #else -- cgit v1.2.3