Skip to content

Commit

Permalink
macOS build: fixed crashing build
Browse files Browse the repository at this point in the history
the build fails after switch to macos-13 on manual page generation:
```
dyld[41003]: Symbol not found: __Z11IsRGBFormat21NTV2FrameBufferFormat
  Referenced from: <2945C378-5453-3610-9AA4-63E2723BBA5D> /Users/runner/work/UltraGrid/UltraGrid/bin/uv
  Expected in:     <no uuid> unknown
Could not obtain data from UG/reflector output!
make: *** [uv.1] Error 3
make: *** Waiting for unfinished jobs....
```

which tries to run bin/uv with --fullhelp.

(this fails only if run within the script data/make_man.sh, not when run directly)
  • Loading branch information
MartinPulec committed Sep 20, 2024
1 parent e1c747e commit 64ee8a2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/scripts/macOS/prepare.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,16 @@ fi

export CPATH=/usr/local/include
export DYLIBBUNDLER_FLAGS="${DYLIBBUNDLER_FLAGS:+$DYLIBBUNDLER_FLAGS }-s /usr/local/lib"
export LDFLAGS="-Wl,-rpath,/usr/local/lib"
export LIBRARY_PATH=/usr/local/lib
if [ "$(uname -m)" = arm64 ]; then
CPATH=/usr/local/include:/opt/homebrew/include
DYLIBBUNDLER_FLAGS="$DYLIBBUNDLER_FLAGS -s /opt/homebrew/lib"
LIBRARY_PATH="$LIBRARY_PATH:/opt/homebrew/lib"
export LDFLAGS="-Wl,-rpath,/usr/local/lib"
echo "LDFLAGS=$LDFLAGS" >> "$GITHUB_ENV"
fi
printf "%b" \
"CPATH=$CPATH\n\
printf "%b" "\
CPATH=$CPATH\n\
LDFLAGS=$LDFLAGS\n\
LIBRARY_PATH=$LIBRARY_PATH\n" >> "$GITHUB_ENV"
echo "PKG_CONFIG_PATH=/usr/local/lib/pkgconfig" >> "$GITHUB_ENV"
echo "/usr/local/opt/qt/bin" >> "$GITHUB_PATH"
Expand Down

0 comments on commit 64ee8a2

Please sign in to comment.