PSPunch | 3 Sep 2008 05:04

Re: Problem building pdlua on MinGW


Some progress.

Now [lua] creates an instance properly.
I haven't had the chance to actually load Lua scripts yet..

Sorry for my writing as I am not yet familiar with any of the patching 
tools.

-----
lua.c
-----
Before:
extern void lua_setup(void) {

After:
extern __declspec(dllexport) void lua_setup(void) {

-----
Makefile.static
-----
Before:
CFLAGS_mingw = -export_dynamic -shared

After:
CFLAGS_mingw = -shared

--
David Shimamoto

Gmane