Experimental#22
Open
Necroso wants to merge 3 commits into
Open
Conversation
- 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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.