pcre: Fix postFixup script

So far the shell globbing only resolved properly on linux.
This commit is contained in:
Johannes 'fish' Ziemke 2016-06-22 18:35:28 +02:00
parent bc6b93511f
commit 1b34f4095e

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") {