diff options
author | Johannes 'fish' Ziemke <github@freigeist.org> | 2016-06-22 18:35:28 +0200 |
---|---|---|
committer | Johannes 'fish' Ziemke <github@freigeist.org> | 2016-06-22 18:35:28 +0200 |
commit | 1b34f4095e0229163d787b8013e70174ca3fe6d2 (patch) | |
tree | 3641ac8a965f90cc0866c9fcc08aa4e9a37b71a3 /pkgs/development/libraries/pcre | |
parent | bc6b93511f21f9943b1c9a9b872717d507ab9070 (diff) | |
download | nixpkgs-1b34f4095e0229163d787b8013e70174ca3fe6d2.tar nixpkgs-1b34f4095e0229163d787b8013e70174ca3fe6d2.tar.gz nixpkgs-1b34f4095e0229163d787b8013e70174ca3fe6d2.tar.bz2 nixpkgs-1b34f4095e0229163d787b8013e70174ca3fe6d2.tar.lz nixpkgs-1b34f4095e0229163d787b8013e70174ca3fe6d2.tar.xz nixpkgs-1b34f4095e0229163d787b8013e70174ca3fe6d2.tar.zst nixpkgs-1b34f4095e0229163d787b8013e70174ca3fe6d2.zip |
pcre: Fix postFixup script
So far the shell globbing only resolved properly on linux.
Diffstat (limited to 'pkgs/development/libraries/pcre')
-rw-r--r-- | pkgs/development/libraries/pcre/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/pcre/default.nix b/pkgs/development/libraries/pcre/default.nix index c56eef31961..7b43845d23f 100644 --- a/pkgs/development/libraries/pcre/default.nix +++ b/pkgs/development/libraries/pcre/default.nix @@ -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") { |