pcre-cpp: fix static build

This commit is contained in:
Guillaume Girol 2022-06-25 12:00:00 +00:00
parent 8fa427ef9f
commit 918bf36d30

View file

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