File tree Expand file tree Collapse file tree
.github/workflows/scripts Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -45,6 +45,10 @@ rm site-packages || rm -rf site-packages
4545ln -s ../../../../../../Resources/opt/local/lib/$PYTHON /site-packages
4646popd
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+
4852find " $APPDIR /Contents/Frameworks/Python.framework" -type f -name ' *.pyc' | xargs rm -rf
4953
5054pushd $APPDIR /Contents/Resources/opt/local
@@ -54,6 +58,7 @@ $LDDX --overwrite --modify-special-paths --recursive --ignore-prefix /opt/X11 --
5458popd
5559
5660mkdir -p $APPDIR /Contents/MacOS
61+ ln -s ../Frameworks/Python.framework/Versions/$PYVER /bin/$PYTHON " $APPDIR /Contents/MacOS/FFPython"
5762
5863# Package it up
5964if [ ! -z " $CI " ]; then
Original file line number Diff line number Diff 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 )
115116endfunction ()
You can’t perform that action at this time.
0 commit comments