Build: fixed JACK [Win]

This commit is contained in:
Martin Pulec
2020-04-09 10:33:31 +02:00
parent 2e757cfeee
commit 2d93c615c8
4 changed files with 18 additions and 6 deletions

View File

@@ -0,0 +1,11 @@
#Set-PSDebug -Trace 1
choco install -y --no-progress jack
# The lib is moved to the JACK library for 2 reasons:
# 1. it will be cached here
# 2. if it were in a Windows directory, it won't be bundled with UltraGrid
# (also make sure to remove from the Windows directory)
New-Item -Type Directory 'C:\Program Files (x86)\Jack\bin'
Move-Item 'C:\Windows\libjack64.dll' 'C:\Program Files (x86)\Jack\bin'

View File

@@ -22,6 +22,7 @@ fi
JACK_D=/c/Program\ Files\ \(x86\)/Jack
if test -d "$JACK_D"; then
export PATH=$PATH:$JACK_D/bin
export CPATH=$CPATH:$JACK_D/includes
export LIBRARY_PATH=$LIBRARY_PATH:$JACK_D/lib
fi