Commit bdcff9cd authored by Artturin's avatar Artturin
Browse files

zsh: build pcre.so

77f84f07 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.
parent aafa2b2c
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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")