Skip to content

Building OSX X86_64 Third Party Dependencies

demarey edited this page Feb 15, 2022 · 9 revisions

Note: Replace /Users/admin/dev/Pharo/thirdparty/Darwin-x86_64/ with the path to use as fakeroot during the building. So the building does not affect the building system and performs a clean build.

SDL2-2.0.18

wget https://libsdl.org/release/SDL2-2.0.18.tar.gz
export LIB_SDL_FAKEROOT=/Users/admin/dev/Pharo/thirdparty/Darwin-x86_64/
tar xvfz SDL2-2.0.18.tar.gz
cd SDL2-2.0.18

./configure --prefix=$LIB_SDL_FAKEROOT && make install

cd $LIB_SDL_FAKEROOT/lib

install_name_tool -id @executable_path/Plugins/libSDL2-2.0.0.dylib libSDL2-2.0.0.dylib

zip -y SDL2-2.0.18.zip libSDL2*.dylib

More dependencies to come

Clone this wiki locally