Merge pull request #33636 from hamishmack/haskell-internal-libs-darwin2

haskell: Fix depending on libs with internal libs on darwin.
This commit is contained in:
Peter Simons 2018-01-12 16:09:56 +01:00 committed by GitHub
commit e30ecaa916
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -104,7 +104,7 @@ symlinkJoin {
# Clean up the old links that may have been (transitively) included by
# symlinkJoin:
rm -f $dynamicLinksDir/*
for d in $(grep dynamic-library-dirs $packageConfDir/*|awk '{print $2}'); do
for d in $(grep dynamic-library-dirs $packageConfDir/*|awk '{print $2}'|sort -u); do
ln -s $d/*.dylib $dynamicLinksDir
done
for f in $packageConfDir/*.conf; do