libnids: fix cross build
This commit is contained in:
@@ -14,6 +14,12 @@ stdenv.mkDerivation {
|
||||
url = "mirror://sourceforge/libnids/libnids-1.24.tar.gz";
|
||||
sha256 = "1cblklfdfxcmy0an6xyyzx4l877xdawhjd28daqfsvrh81mb07k1";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace src/Makefile.in \
|
||||
--replace-fail ar '${stdenv.cc.targetPrefix}ar'
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [
|
||||
libpcap
|
||||
|
||||
Reference in New Issue
Block a user