mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 09:53:10 +00:00
swig: find pcre-config correctly
This commit is contained in:
parent
921a47bc92
commit
fd38234dfc
@ -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" ];
|
||||
|
Loading…
Reference in New Issue
Block a user