--- ./src/premake.lua.orig +++ ./src/premake.lua @@ -58,7 +58,7 @@ package.libpaths = { "../output/lib/wxformbuilder", "../sdk/lib" } end -- Set the libraries it links to. -package.links = { "wxFlatNotebook", "wxPropGrid", "wxScintilla", "TiCPP", "plugin-interface" } +package.links = { "wxFlatNotebook", "wxPropGrid", "wxScintilla", "TiCPP", "plugin-interface", "dl" } -- Add libraries and build options for stack trace in MinGW if ( windows and ( (string.find( target or "", ".*-gcc" )) or (target == "gnu") ) ) then