Skip to content

Experimental#22

Open
Necroso wants to merge 3 commits into
rasikhq:masterfrom
Necroso:experimental
Open

Experimental#22
Necroso wants to merge 3 commits into
rasikhq:masterfrom
Necroso:experimental

Conversation

@Necroso
Copy link
Copy Markdown

@Necroso Necroso commented May 11, 2026

No description provided.

Necroso added 3 commits May 11, 2026 01:05
- Added support for 32-bit Windows

- The plugin is built with static libraries and does not require external runtime DLLs such as libcrypto-1_1-x64 or libssl-1_1-x64. All required dependencies are linked statically into the final binary.
Refactor premake configuration to improve cross-platform builds and enable LTO with safe fallbacks. Add 32-bit configuration (targetsuffix _x86 and _x32 define), consolidate Release settings, and set static runtime on Windows. Enable link-time optimization on Windows using pcall(linktimeoptimization) with a flags fallback, and enable LTO on Linux via -flto build/link options. Also enable PIC on Linux and add /MP for MSVC builds. Mirrored the Windows LTO fallback in the PostgreSQL module and cleaned up formatting.
Revise README build instructions: clarify Windows build steps (run premake/win-build.bat to generate a Visual Studio 2022 solution) and list expected build configurations and produced DLLs (Release32 + Win32 → LuaPlugin_x32.dll; Release + x64 → LuaPlugin_x64.dll). Expand and reorganize the Linux section with step-by-step dependency installation (including a note that libpq-dev and libpq-dev:i386 conflict), premake5 installation commands, and explicit premake/make build commands for 32-bit (make config=release32) and 64-bit (make config=release). Also apply minor formatting and capitalization cleanups.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant