Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use MODULE library type for Lua libs #1882

Merged
merged 1 commit into from
May 1, 2024
Merged

Use MODULE library type for Lua libs #1882

merged 1 commit into from
May 1, 2024

Conversation

brndnmtthws
Copy link
Owner

Per the docs at
https://cmake.org/cmake/help/latest/command/add_library.html, we should use MODULE rather than SHARED for the Lua libraries.

This mostly affects macOS, where the libraries are compiled as MH_DYLIB (.dylib) rather than MH_BUNDLE (.so).

Per the docs at
https://cmake.org/cmake/help/latest/command/add_library.html, we should
use `MODULE` rather than `SHARED` for the Lua libraries.

This mostly affects macOS, where the libraries are compiled as MH_DYLIB
(`.dylib`) rather than MH_BUNDLE (`.so`).
Copy link

netlify bot commented May 1, 2024

Deploy Preview for conkyweb canceled.

Name Link
🔨 Latest commit 358814b
🔍 Latest deploy log https://app.netlify.com/sites/conkyweb/deploys/66323f769506260008baa6f1

@github-actions github-actions bot added build system Issues and PRs related to build system (CMake) and process lua Issue or PR related to Lua code labels May 1, 2024
@brndnmtthws brndnmtthws added the bug Bug report or bug fix PR label May 1, 2024
@brndnmtthws brndnmtthws merged commit fe5552f into main May 1, 2024
62 checks passed
@brndnmtthws brndnmtthws deleted the macos-lua-module branch May 1, 2024 19:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug report or bug fix PR build system Issues and PRs related to build system (CMake) and process lua Issue or PR related to Lua code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant