mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-03-21 19:40:24 +00:00
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).
11 lines
214 B
Bash
Executable File
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
|
|
|