zsh: build pcre.so
77f84f07c4
changed zsh to use pkg-config
and i assumed that because the zsh binary was linked with pcre that pcre
support was working, but it was not.
This commit is contained in:
parent
aafa2b2c3d
commit
bdcff9cd3c
1 changed files with 5 additions and 0 deletions
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue