Skip to content

Commit f1492c9

Browse files
committed
mac: fix seutptools plugins warning for bundle
1 parent 57e8664 commit f1492c9

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/scripts/ffosxbuild.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@ rm site-packages || rm -rf site-packages
4545
ln -s ../../../../../../Resources/opt/local/lib/$PYTHON/site-packages
4646
popd
4747

48+
pushd $APPDIR/Contents/Resources/opt/local/lib/$PYTHON/site-packages
49+
cp -Rn "$pycruft/Python.framework/Versions/$PYVER/lib/$PYTHON/site-packages/" .
50+
popd
51+
4852
find "$APPDIR/Contents/Frameworks/Python.framework" -type f -name '*.pyc' | xargs rm -rf
4953

5054
pushd $APPDIR/Contents/Resources/opt/local
@@ -54,6 +58,7 @@ $LDDX --overwrite --modify-special-paths --recursive --ignore-prefix /opt/X11 --
5458
popd
5559

5660
mkdir -p $APPDIR/Contents/MacOS
61+
ln -s ../Frameworks/Python.framework/Versions/$PYVER/bin/$PYTHON "$APPDIR/Contents/MacOS/FFPython"
5762

5863
# Package it up
5964
if [ ! -z "$CI" ]; then

cmake/BuildUtils.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ function(set_default_rpath)
110110
endif()
111111
if(APPLE)
112112
list(APPEND CMAKE_INSTALL_RPATH "@loader_path/../lib")
113+
list(APPEND CMAKE_INSTALL_RPATH "@loader_path/../..") # For fontforge.so
113114
endif()
114115
set(CMAKE_INSTALL_RPATH ${CMAKE_INSTALL_RPATH} PARENT_SCOPE)
115116
endfunction()

0 commit comments

Comments
 (0)