Skip to content

Commit

Permalink
Add explicit linking to pthread
Browse files Browse the repository at this point in the history
  • Loading branch information
hmartinez82 committed Jun 15, 2024
1 parent 6d92543 commit 1a34714
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions mingw-w64-exempi/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,13 @@ pkgdesc="Library to parse XMP metadata (mingw-w64)"
url="https://libopenraw.freedesktop.org/exempi"
msys2_repository_url="https://gitlab.freedesktop.org/libopenraw/exempi"
msys2_references=(
"archlinux: exempi"
"cpe: cpe:2.3:a:exempi_project:exempi"
)
license=("spdx:BSD-3-Clause")
depends=("${MINGW_PACKAGE_PREFIX}-gcc-libs"
"${MINGW_PACKAGE_PREFIX}-expat"
depends=("${MINGW_PACKAGE_PREFIX}-expat"
"${MINGW_PACKAGE_PREFIX}-gcc-libs"
"${MINGW_PACKAGE_PREFIX}-winpthreads"
"${MINGW_PACKAGE_PREFIX}-zlib")
makedepends=("git"
"${MINGW_PACKAGE_PREFIX}-cc"
Expand Down Expand Up @@ -54,6 +56,7 @@ build() {
mkdir -p build-${MSYSTEM}
cd build-${MSYSTEM}

LDFLAGS+=" -lpthread"
MSYS2_ARG_CONV_EXCL="--prefix=" \
${MINGW_PREFIX}/bin/meson setup \
--prefix=${MINGW_PREFIX} \
Expand Down

0 comments on commit 1a34714

Please sign in to comment.