mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-25 07:35:38 +00:00
(macOS) Fixed a missing rpath entry for a dependency library
This commit is contained in:
parent
43e4310a17
commit
0c035a2396
|
@ -81,6 +81,12 @@ rm -rf builddir
|
|||
PKG_CONFIG_PATH=$(pwd)/../local_install/lib/pkgconfig meson setup --buildtype=release --prefix $(pwd)/../local_install builddir
|
||||
cd builddir
|
||||
meson compile
|
||||
|
||||
# This will fail if there are spaces in the build path.
|
||||
cd src
|
||||
install_name_tool -change $(otool -L libfontconfig.1.dylib | grep libfreetype | cut -f1 -d' ' | sed 's/[[:blank:]]//g') @rpath/libfreetype.6.dylib libfontconfig.1.dylib
|
||||
cd ..
|
||||
|
||||
meson install
|
||||
cp src/libfontconfig.1.dylib ../../../
|
||||
cd ../..
|
||||
|
|
Loading…
Reference in a new issue