jaromail

a commandline tool to easily and privately handle your e-mail
git clone git://parazyd.org/jaromail.git
Log | Files | Refs | Submodules | README

commit ff4eb7dde09ce671a7a9ec36685a3259220f8e67
parent 948ae567cf0ee8b5a24828b061cc065820e740ec
Author: Jaromil <jaromil@dyne.org>
Date:   Thu, 11 Dec 2014 14:56:16 +0100

fix rpath on dylibs in brew

Diffstat:
Mbuild/build-osx.sh | 11+++++++----
1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/build/build-osx.sh b/build/build-osx.sh @@ -99,12 +99,15 @@ copydeps_brew() { chmod +w $bin/$exe strip $bin/$exe for d in ${libs}; do - dylib=`basename $d` + dylib=${d#*/} + dylib_path=${homebrew}/lib/$dylib + print " $dylib" # make sure destination is writable - dylibdest=$lib/`basename $d` - { test -r $dylibdest } || { cp -v "$d" "$dylibdest" } - install_name_tool -change $d \ + dylibdest=$lib/$dylib + + { test -r $dylibdest } || { cp -v "$dylib_path" "$dylibdest" } + install_name_tool -change "$d" \ "/Applications/JaroMail.app/Contents/Frameworks/`basename $d`" $bin/$exe done