clojure-lsp: fix build

This commit is contained in:
classabbyamp 2024-07-23 10:50:04 -04:00
parent 56b89a75f3
commit e51a2545f2
No known key found for this signature in database
GPG Key ID: 6BE0755918A4C7F5
1 changed files with 3 additions and 1 deletions

View File

@ -3,7 +3,7 @@ pkgname=clojure-lsp
version=2024.04.22
revision=1
_ver_hms="11.50.26"
hostmakedepends="mandrel leiningen babashka clojure"
hostmakedepends="mandrel leiningen babashka clojure openjdk21"
makedepends="zlib-devel"
short_desc="Clojure & ClojureScript language server implementation"
maintainer="icp <pangolin@vivaldi.net>"
@ -18,6 +18,8 @@ do_build() {
export GRAALVM_HOME=/usr/lib/jvm/mandrel21
export PATH="/usr/libexec/chroot-git:${PATH}"
. /etc/profile.d/jdk.sh
if [ "$XBPS_TARGET_LIBC" = musl ]; then
export CLOJURE_LSP_STATIC=true
export CLOJURE_LSP_MUSL=true