Speed up macOS app bundle build time.

This commit is contained in:
Mark Kim 2022-12-03 14:24:52 -05:00
parent cf92625df5
commit 8a8ba0cb3f
2 changed files with 6 additions and 1 deletions

View file

@ -196,6 +196,11 @@ http://www.tuxpaint.org/
enabled to take advantage of its benefits.
Mark Kim <markuskimius@gmail.com>
* Speed up macOS app bundle build time.
Fixed a typo that was causing the macOS app bundle build time to be
unnecessarily long. The app buildle build time is now ~20x faster.
Mark Kim <markuskimius@gmail.com>
* Documentation updates:
---------------------
* New "Quickstart Guide" document added.

View file

@ -48,7 +48,7 @@ echo " -> Copied" $count "files to $LIBDIR"
echo " * Fixing Shared Library References..."
for i in "$BINARY" $LIBS $LIBDIR/*; do
echo " -> $i..."
for j in `otool -L $dylib | grep '^[[:space:]]*[/]opt[/]local[/]' | sed -e 's/^[[:space:]]*\([^[:space:]]*\)[[:space:]].*/\1/'`; do
for j in `otool -L "$i" | grep '^[[:space:]]*[/]opt[/]local[/]' | sed -e 's/^[[:space:]]*\([^[:space:]]*\)[[:space:]].*/\1/'`; do
n=`echo "$j" | sed 's/^[/]opt[/]local[/]/@executable_path\/..\//'`
install_name_tool -change "$j" "$n" "$i"
done