Files
UltraGrid/.github/scripts/Windows/install_natpmp.sh
Martin Pulec 132569c023 CI Win: use upstream libnatpmp GH repo
The original location sometimes fail with HTTP error code 500 causing
the build to fail. Thus replace it with own libnatpmp mirror (there
isn't any ongoing development, anyway).
2022-04-05 12:52:18 +02:00

11 lines
214 B
Bash
Executable File

#!/bin/sh -eu
git clone --depth 1 https://github.com/miniupnp/libnatpmp
cd libnatpmp
cmd /c build.bat
cp natpmp.a /usr/local/lib/libnatpmp.a
cp natpmp_declspec.h natpmp.h /usr/local/include
cd -
rm -rf libnatpmp