Skip to content

Commit 908165c

Browse files
committed
CI mac: add /Library/Framework to rpath
needed for DELTACAST, otherwise manpage generation fails with: ``` dyld[40232]: Library not loaded: @rpath/VideoMasterHD.framework/Versions/A/VideoMasterHD Referenced from: <3D8A8CBA-1094-3538-9770-331DE9A2D6D2> /Users/runner/work/UltraGrid/UltraGrid/bin/uv Reason: tried: '/usr/local/lib/VideoMasterHD.framework/Versions/A/VideoMasterHD' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/lib/VideoMasterHD.framework/Versions/A/VideoMasterHD' (no such file), '/usr/local/lib/VideoMasterHD.framework/Versions/A/VideoMasterHD' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/lib/VideoMasterHD.framework/Versions/A/VideoMasterHD' (no such file) Could not obtain data from UG/reflector output! ```
1 parent 4bf16b8 commit 908165c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/scripts/macOS/prepare.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,9 @@ if [ -z "${GITHUB_ENV-}" ]; then
1414
fi
1515

1616
export CPATH=/usr/local/include
17-
export DYLIBBUNDLER_FLAGS="${DYLIBBUNDLER_FLAGS:+$DYLIBBUNDLER_FLAGS }-s /usr/local/lib"
18-
export LDFLAGS="-Wl,-rpath,/usr/local/lib"
17+
export DYLIBBUNDLER_FLAGS="${DYLIBBUNDLER_FLAGS:+$DYLIBBUNDLER_FLAGS }\
18+
-s /usr/local/lib -s /Library/Frameworks"
19+
export LDFLAGS="-Wl,-rpath,/usr/local/lib -Wl,-rpath,/Library/Frameworks"
1920
export LIBRARY_PATH=/usr/local/lib
2021
if [ "$(uname -m)" = arm64 ]; then
2122
CPATH=/usr/local/include:/opt/homebrew/include

0 commit comments

Comments
 (0)