# expat 2.8.1 — parser XML stream (C). Lib base: dep de cola C (fontconfig, dbus, etc.) y crates -sys. # De-Alpinizada (Etapa G): compiler=zig-cc (migrado de gcc, matar-gcc 2026-07-16), configure-split explícito, estático. Sin deps externas. name = "expat" version = "2.8.1" license = "MIT" [source] tarball = "https://github.com/libexpat/libexpat/releases/download/R_2_8_1/expat-2.8.1.tar.xz" sha256 = "10b195ee78160a908388180a8fe3603d4e9a12f4755fbf5f3816b23a9d750da0" [build] compiler = "zig-cc" target = "x86_64-linux-musl" link = "static" flags = [] [deps] build = ["make"] [build.phases] # --with-pic: el .a estático lleva objetos PIC ⇒ enlazable dentro de .so (Mesa liga libexpat en # libgallium/xmlconfig; sin PIC: «R_X86_64_PC32 ... recompile with -fPIC»). PIC es superset. configure = './configure --build=$CBUILD --host=$CHOST --prefix=/usr --disable-shared --enable-static --with-pic --without-docbook' compile = 'make LDFLAGS="-all-static -no-pie" -j"$(nproc)"' install = 'make DESTDIR=/out install LDFLAGS="-all-static -no-pie"'