snort: provide dynamic preprocessor path via wrapper

This commit is contained in:
Aycan iRiCAN 2015-10-02 11:43:03 +03:00
parent c416e4a129
commit 0e69d85980
1 changed files with 2 additions and 1 deletions

View File

@ -14,7 +14,8 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
configureFlags = "--disable-static-daq --enable-control-socket --with-daq-includes=${daq}/includes --with-daq-libraries=${daq}/lib";
configureFlags = "--disable-static-daq --enable-control-socket --with-daq-includes=${daq}/includes --with-daq-libraries=${daq}/lib \
--dynamic-preprocessor-lib-dir $out/lib/snort_dynamicpreprocessor/ --dynamic-engine-lib-dir $out/lib/snort_dynamicengine";
postInstall = ''
wrapProgram $out/bin/snort --add-flags "--daq-dir ${daq}/lib/daq"