Date: Thu, 01 Jan 2026 04:47:04 +0000 From: bugzilla-noreply@freebsd.org To: desktop@FreeBSD.org Subject: [Bug 292087] zig 0.15.2 STATIC build requires remove of -licu Message-ID: <bug-292087-39348@https.bugs.freebsd.org/bugzilla/>
index | next in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292087 Bug ID: 292087 Summary: zig 0.15.2 STATIC build requires remove of -licu Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: desktop@FreeBSD.org Reporter: beldin@beldin.org Assignee: desktop@FreeBSD.org Flags: maintainer-feedback?(desktop@FreeBSD.org) The recent upgrade to zig 0.15.2 removed the dependency on icu. The linking when STATIC option is defined still has flags for icu and therefore fails. Removal of these flags (as per patch below) fixes this issue. diff --git a/lang/zig/Makefile b/lang/zig/Makefile index 4e86abb5c846..81221e436e0b 100644 --- a/lang/zig/Makefile +++ b/lang/zig/Makefile @@ -34,7 +34,7 @@ STATIC_DESC= sets ZIG_STATIC to avoid 800MiB LLVM runtime dependency STATIC_RUN_DEPENDS_OFF= llvm${_LLVM_VER}>=0:devel/llvm${_LLVM_VER} STATIC_CMAKE_BOOL= ZIG_STATIC -STATIC_LDFLAGS= -licudata -licuuc -llzma -lm -lmd -lxml2 -lz -lzstd +STATIC_LDFLAGS= -llzma -lm -lmd -lxml2 -lz -lzstd STATIC_LIB_DEPENDS+= libxml2.so:textproc/libxml2 _LLVM_VER= 20 -- You are receiving this mail because: You are the assignee for the bug.help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-292087-39348>
