INNER CODE UNIT · Pascal

normalization

Cooler2/ApusGameEngine · platform/macos/fetch_redist.sh:116

normalization  = extracted SDL2.framework/Versions/A/SDL2;
                 install-id -> @rpath/$LEAF; ad-hoc re-signed
committed_file  = $LEAF
committed_sha256 = $final
EOF

echo
echo "Wrote:"
echo "  $REDIST/$LEAF"
echo "  $REDIST/SOURCES.txt"
[ -f "$REDIST/licenses/SDL2-LICENSE.txt" ] && echo "  $REDIST/licenses/SDL2-LICENSE.txt"
echo
echo "Verify it is self-contained (no libSDL3, no Homebrew paths):"
otool -L "$REDIST/$LEAF" | awk 'NR>1{print "  "$1}'
echo
echo "Build a distributable bundle that substitutes this file with:"
echo "  REDIST_LIBDIR=\"$REDIST\" platform/macos/make_bundle.sh ..."
echo "(REDIST_LIBDIR overrides bundled dylibs by leaf name; unlike SDL2_LIBDIR it"

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…