diff options
author | wolfgang <unknown> | 2005-03-22 06:37:59 +0000 |
---|---|---|
committer | wolfgang <unknown> | 2005-03-22 06:37:59 +0000 |
commit | 2b811329caa54eee7c1b159384e1e1aa3a5e9feb (patch) | |
tree | 120e26e01d5aca360ab7774d310039bb94389bb3 /distrib | |
parent | c6f9cbaa3bfdc411e3605ca21fc9d6a44463cc85 (diff) | |
download | haskell-2b811329caa54eee7c1b159384e1e1aa3a5e9feb.tar.gz |
[project @ 2005-03-22 06:37:57 by wolfgang]
Mac OS X: Make bindist work with dynamic libraries
MERGE TO STABLE
Diffstat (limited to 'distrib')
-rw-r--r-- | distrib/Makefile-bin.in | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/distrib/Makefile-bin.in b/distrib/Makefile-bin.in index f4497da52e..197a2e1675 100644 --- a/distrib/Makefile-bin.in +++ b/distrib/Makefile-bin.in @@ -173,6 +173,13 @@ config-pkgs :: $(SED) -e "s|\$$libdir|$(libdir)|g;s|\$$datadir|$(datadir)|g" <lib/$(platform)/$$i.bak >lib/$(platform)/$$i; \ fi; \ done + @if test "$(platform)" == "powerpc-apple-darwin"; then \ + echo "Configuring install names..."; \ + for i in lib/$(platform)/*; do \ + sh fix_install_names.sh "$(libdir)" "$$i"; \ + done; \ + echo "Done."; \ + fi in-place :: $(MAKE) $(MFLAGS) config-pkgs bindir=`pwd`/bin/$(platform) libdir=`pwd`/lib/$(platform) datadir=`pwd`/share |