mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
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 New Issue
Block a user