Merge #16426: pcre: fix the less common variants on Darwin

This commit is contained in:
Vladimír Čunát 2016-06-22 19:59:29 +02:00
commit 152c72c022

View file

@ -41,7 +41,7 @@ in stdenv.mkDerivation rec {
moveToOutput bin/pcre-config "$dev"
''
+ optionalString (variant != null) ''
ln -sf -t "$out/lib/" '${pcre.out}'/lib/libpcre{,posix}.so.*.*.*
ln -sf -t "$out/lib/" '${pcre.out}'/lib/libpcre{,posix}.{so.*.*.*,*dylib}
'';
crossAttrs = optionalAttrs (stdenv.cross.libc == "msvcrt") {