diff options
author | Joey Hess <joeyh@joeyh.name> | 2016-07-17 10:57:54 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2016-07-17 10:58:30 -0400 |
commit | 90764f2baece55ee596175ee6554401aee4651ab (patch) | |
tree | 62ff05edeac8d6d07b5e2097ea91e881d890bc0e /Makefile | |
parent | 558a6045e0441fd25cdb1dba6bea838a474f839d (diff) |
avoid stripping rpath when linking haskell libs dynamically
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 |