mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-03-20 15:40:14 +00:00
GitHub CI: current NDI bug workaround
This commit is contained in:
2
.github/scripts/macOS/prepare.sh
vendored
2
.github/scripts/macOS/prepare.sh
vendored
@@ -65,6 +65,8 @@ install_ndi() {
|
||||
NDI_LIB=/Library/NDI/lib/x64
|
||||
else # NDI 5
|
||||
NDI_LIB=/Library/NDI/lib/macOS
|
||||
# TODO: remove - workaround for not using struct keyword causing C code fail
|
||||
sudo sed -i -e 's/typedef \([^ ]*_instance_type\)/typedef struct \1/' /Library/NDI/include/*
|
||||
fi
|
||||
export CPATH=${CPATH:+"$CPATH:"}/Library/NDI/include
|
||||
export DYLIBBUNDLER_FLAGS="${DYLIBBUNDLER_FLAGS:+$DYLIBBUNDLER_FLAGS }-s $NDI_LIB"
|
||||
|
||||
Reference in New Issue
Block a user