ledger3: On darwin, change boost lib paths to absolute references

This commit is contained in:
John Wiegley 2014-11-04 00:05:58 -06:00
parent 8e516de3e7
commit 28d0908bfb

View File

@ -23,6 +23,11 @@ stdenv.mkDerivation {
postInstall = ''
mkdir -p $out/share/emacs/site-lisp/
cp -v "$src/lisp/"*.el $out/share/emacs/site-lisp/
'' + stdenv.lib.optionalString stdenv.isDarwin ''
for i in date_time filesystem system iostreams regex unit_test_framework; do
boostlib=libboost_''$i.dylib
install_name_tool -change ''$boostlib $out/lib/''$boostlib $out/bin/ledger
done
'';
meta = {