lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


2013/3/11 Choonster TheMage <choonster.2010@gmail.com>:
> The source code came with a .def file exporting luaopen_zlib, but I
> didn't know how to tell the linker about it. Using
> __declspec(dllexport) worked well.

I think you can simply add it to the solution/project inside Visual
Studio. If that doesn't work, there should be a property in the linker
options to specify a .def file.