Skip to content

Commit

Permalink
wasmtime: install missing conf.h
Browse files Browse the repository at this point in the history
  • Loading branch information
ognevny authored Oct 7, 2024
1 parent fb6a492 commit 919c8fc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion mingw-w64-wasmtime/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}"
"${MINGW_PACKAGE_PREFIX}-lib${_realname}"
"${MINGW_PACKAGE_PREFIX}-${_realname}-docs")
pkgver=25.0.1
pkgrel=3
pkgrel=4
pkgdesc="A fast and secure runtime for WebAssembly (mingw-w64)"
arch=('any')
mingw_arch=('mingw64' 'ucrt64' 'clang64' 'clangarm64')
Expand Down Expand Up @@ -105,6 +105,8 @@ package_libwasmtime() {

DESTDIR="${pkgdir}" cmake --install "build-${MSYSTEM}-static"
DESTDIR="${pkgdir}" cmake --install "build-${MSYSTEM}-shared"
install -Dm644 "build-${MSYSTEM}-shared/include/wasmtime/conf.h" \
"${pkgdir}${MINGW_PREFIX}/include/wasmtime/conf.h"
install -d "${pkgdir}${MINGW_PREFIX}/bin"

mv "${pkgdir}${MINGW_PREFIX}/lib/wasmtime.dll" "${pkgdir}${MINGW_PREFIX}/bin/wasmtime.dll"
Expand Down

0 comments on commit 919c8fc

Please sign in to comment.