Merge pull request #80191 from simonchatts/lmdb

haskell generic-builder: fix Darwin regression for lmdb
This commit is contained in:
Silvan Mosberger 2020-02-17 08:52:23 +01:00 committed by GitHub
commit b7bf4ce8ee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -384,7 +384,7 @@ stdenv.mkDerivation ({
done
for d in $(grep '^dynamic-library-dirs:' "$packageConfDir"/* | cut -d' ' -f2- | tr ' ' '\n' | sort -u); do
for lib in "$d/"*.dylib; do
for lib in "$d/"*.{dylib,so}; do
ln -s "$lib" "$dynamicLinksDir"
done
done