diff options
| author | Stefan Boberg <[email protected]> | 2026-04-23 18:16:57 +0200 |
|---|---|---|
| committer | Stefan Boberg <[email protected]> | 2026-04-23 18:16:57 +0200 |
| commit | 0232b991cd7d8e3a2114ea30e4591dd3e7b65c36 (patch) | |
| tree | 94730e7594fd09ae1fa820391ce311f6daf13905 /src/zencore/xmake.lua | |
| parent | Fix forward declaration order for s_GotSigWinch and SigWinchHandler (diff) | |
| parent | trace: declare Region event name fields as AnsiString (#1012) (diff) | |
| download | archived-zen-sb/zen-help.tar.xz archived-zen-sb/zen-help.zip | |
Merge branch 'main' into sb/zen-helpsb/zen-help
- Combine HelpCommand (this branch) with HistoryCommand (main) in zen CLI dispatcher
- Keep filter-aware TuiPickOne rewrite; adopt main's ASCII arrow glyphs in doc comment
Diffstat (limited to 'src/zencore/xmake.lua')
| -rw-r--r-- | src/zencore/xmake.lua | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/zencore/xmake.lua b/src/zencore/xmake.lua index fe12c14e8..c5a3ea562 100644 --- a/src/zencore/xmake.lua +++ b/src/zencore/xmake.lua @@ -39,6 +39,14 @@ target('zencore') if is_plat("linux", "macosx") then add_packages("openssl3") -- required for crypto end + + if is_plat("linux") and has_config("zenlibsecret") then + -- libsecret-1 is pulled from the system package (libsecret-1-dev on + -- Debian/Ubuntu, libsecret-devel on Fedora). xmake's package recipe + -- resolves include dirs and link flags through pkg-config. + add_requires("libsecret") + add_packages("libsecret") + end add_packages( "gsl-lite", @@ -79,6 +87,11 @@ target('zencore') add_syslinks("rt") end + if is_plat("macosx") then + -- Security.framework for TryProtectData/TryUnprotectData (Keychain) + add_frameworks("Security", "CoreFoundation") + end + if is_plat("windows") then add_syslinks("Advapi32") add_syslinks("Dbghelp") |