forked from mirrors/nixpkgs
pcre: Fix postFixup script
So far the shell globbing only resolved properly on linux.
This commit is contained in:
parent
bc6b93511f
commit
1b34f4095e
|
@ -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") {
|
||||
|
|
Loading…
Reference in a new issue