T.J. Townsend pushed to branch main at Arch Linux / Packaging / Packages / 
openai-codex


Commits:
269ab2d6 by DeepChirp at 2026-06-02T09:56:04+08:00
dynamically link against system sqlite and zstd

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -12,8 +12,10 @@ pkgbase = openai-codex
        depends = libcap
        depends = libgcc
        depends = openssl
+       depends = sqlite
        depends = xz
        depends = zlib
+       depends = zstd
        optdepends = git: allow for repository actions
        optdepends = nodejs: enable the js_repl experimental tool
        optdepends = ripgrep: accelerated large-repo search


=====================================
PKGBUILD
=====================================
@@ -17,8 +17,10 @@ depends=(
   libcap
   libgcc
   openssl
+  sqlite
   xz
   zlib
+  zstd
 )
 makedepends=(cargo)
 optdepends=(
@@ -38,6 +40,9 @@ prepare() {
 
 build() {
   cd codex-rust-v$pkgver/codex-rs
+  # Used for dynamic linking
+  export LIBSQLITE3_SYS_USE_PKG_CONFIG=1
+  export ZSTD_SYS_USE_PKG_CONFIG=1
   # Reduces build time by about 10 minutes
   export CARGO_PROFILE_RELEASE_LTO=thin
   cargo build --frozen --release --bin codex --bin codex-responses-api-proxy



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/openai-codex/-/commit/269ab2d6a8decb4af9c62c93463648fbe9c23897

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/openai-codex/-/commit/269ab2d6a8decb4af9c62c93463648fbe9c23897
You're receiving this email because of your account on gitlab.archlinux.org. 
Manage all notifications: https://gitlab.archlinux.org/-/profile/notifications 
| Help: https://gitlab.archlinux.org/help


Reply via email to