avoid stripping rpath when linking haskell libs dynamically
This commit is contained in:
parent
d04f2f6437
commit
c04d9d6a01
1 changed files with 4 additions and 1 deletions
5
Makefile
5
Makefile
|
@ -30,7 +30,10 @@ git-annex: Build/SysConfig.hs
|
|||
ln -sf dist/build/git-annex/git-annex git-annex; \
|
||||
fi
|
||||
# Work around https://github.com/haskell/cabal/issues/3524
|
||||
@chrpath -d git-annex || echo "** unable to chrpath git-annex; it will be a little bit slower than necessary"
|
||||
# when not linked dynamically to haskell libs
|
||||
@if ! ldd git-annex | grep -q libHS; then \
|
||||
chrpath -d git-annex || echo "** unable to chrpath git-annex; it will be a little bit slower than necessary"; \
|
||||
fi
|
||||
|
||||
# These are not built normally.
|
||||
git-union-merge.1: doc/git-union-merge.mdwn
|
||||
|
|
Loading…
Reference in a new issue