Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- tar zxvf readline-5.2.tar.gz
- cd readline-5.2
- export MACOSX_DEPLOYMENT_TARGET=10.5
- export CFLAGS="-arch x86_64 -g -Os -pipe -no-cpp-precomp"
- export CCFLAGS="-arch x86_64 -g -Os -pipe"
- export CXXFLAGS="-arch x86_64 -g -Os -pipe"
- export LDFLAGS="-arch x86_64 -bind_at_load"
- ./configure --prefix=/usr/local
- cd shlib
- sed -e 's/-dynamic/-dynamiclib/' Makefile > Makefile.good
- mv Makefile.good Makefile
- cd ..
- make && sudo make install
Add Comment
Please, Sign In to add comment