#!/bin/sh
# Build script for libpthread-stubs (autotools, Template A).# NOTE: the 0.5 release tarball ships only Makefile.am/configure.ac (no# meson.build) despite some packaging docs describing it as a Meson port -# verified 2026-07-22 by inspecting the actual distfile. Header/.pc only,# no compiled library content - just satisfies libxcb's pkg-config check.set -e
cd "$SRCDIR"export PKG_CONFIG_PATH="$PREFIX/lib/pkgconfig:$PREFIX/share/pkgconfig:$PKG_CONFIG_PATH"./configure \
--prefix="$PREFIX"\
--build="$BUILD_TRIPLE"\
--host="$BUILD_TRIPLE"\
--sysconfdir="$SYSCONFDIR"\
--disable-static
gmake -j${JOBS:-1}gmake install DESTDIR="$PKGDIR"