swig: find pcre-config correctly

This commit is contained in:
Matthew Bauer 2018-12-28 14:02:49 -06:00
parent 921a47bc92
commit fd38234dfc

View File

@ -11,10 +11,8 @@ stdenv.mkDerivation rec {
sha256 = "1wyffskbkzj5zyhjnnpip80xzsjcr3p0q5486z3wdwabnysnhn8n";
};
# for cross-compiling we need pcre.dev in nativeBuildInputs to get pcre-config
nativeBuildInputs = [ autoconf automake libtool bison pcre.dev ];
disallowedReferences = [ buildPackages.pcre.dev ];
PCRE_CONFIG = "${pcre.dev}/bin/pcre-config";
nativeBuildInputs = [ autoconf automake libtool bison ];
buildInputs = [ pcre ];
configureFlags = [ "--without-tcl" ];