GitHub CI: current NDI bug workaround

This commit is contained in:
Martin Pulec
2022-01-13 12:01:57 +01:00
parent e3d9cdb36a
commit a06af0ac34

View File

@@ -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"