Merge pull request #241781 from Artturin/zshpcrefix

zsh: build pcre.so
This commit is contained in:
Weijia Wang 2023-07-06 14:36:16 +03:00 committed by GitHub
commit f5c83c7086
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -57,6 +57,11 @@ stdenv.mkDerivation {
"zsh_cv_sys_dynamic_strip_lib=yes"
];
postPatch = ''
substituteInPlace Src/Modules/pcre.mdd \
--replace 'pcre-config' 'true'
'';
preConfigure = ''
# use pkg-config instead of pcre-config
configureFlagsArray+=("PCRECONF=''${PKG_CONFIG} libpcre")