mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-03-20 09:40:08 +00:00
Win CI scripts: create /usr/local/* if not
Ensure that /usr/local/{bin,include,lib} are created in scrips that copy
to that.
This is not problem for the CI because `.github/scripts/Windows/prepare_msys.sh`
already creates them but the scripts are standalone installers and it
can be run independently by a developer to install the particular dependency.
This commit is contained in:
1
.github/scripts/Windows/install_natpmp.sh
vendored
1
.github/scripts/Windows/install_natpmp.sh
vendored
@@ -8,6 +8,7 @@ gcc -c -Wall -Os -DWIN32 -DNATPMP_STATICLIB -DENABLE_STRNATPMPERR natpmp.c
|
||||
gcc -c -Wall -Os -DWIN32 wingettimeofday.c
|
||||
ar cr natpmp.a getgateway.o natpmp.o wingettimeofday.o
|
||||
|
||||
mkdir -p /usr/local/include /usr/local/lib
|
||||
cp natpmp.a /usr/local/lib/libnatpmp.a
|
||||
cp natpmp_declspec.h natpmp.h /usr/local/include
|
||||
cd -
|
||||
|
||||
1
.github/scripts/Windows/install_spout.sh
vendored
1
.github/scripts/Windows/install_spout.sh
vendored
@@ -2,6 +2,7 @@
|
||||
# Install SPOUT
|
||||
|
||||
git clone --depth 1 https://github.com/leadedge/Spout2.git
|
||||
mkdir -p /usr/local/bin /usr/local/include /usr/local/lib
|
||||
cp Spout2/BUILD/Binaries/x64/SpoutLibrary.dll /usr/local/bin
|
||||
cp Spout2/BUILD/Binaries/x64/SpoutLibrary.lib /usr/local/lib
|
||||
cp Spout2/SPOUTSDK/SpoutLibrary/SpoutLibrary.h /usr/local/include
|
||||
|
||||
Reference in New Issue
Block a user