From: Shivani Bhardwaj Date: Mon, 7 Oct 2019 18:27:43 +0000 (+0530) Subject: Makefile: Make libhtp available at install-rules stage X-Git-Tag: suricata-5.0.0~89 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5fbb7cef0a747de786a693945dac4632ff9e203a;p=thirdparty%2Fsuricata.git Makefile: Make libhtp available at install-rules stage So far when "make install-rules" stage was executed, libhtp path was not recognized as ldconfig does not run by this stage. Set "LD_LIBRARY_PATH" since we already know the path where libhtp would be. Closes redmine ticket #2669. --- diff --git a/Makefile.am b/Makefile.am index ff4ba7ef01..bb7abe112e 100644 --- a/Makefile.am +++ b/Makefile.am @@ -32,7 +32,7 @@ install-conf: install-rules: if HAVE_SURICATA_UPDATE - $(DESTDIR)$(bindir)/suricata-update \ + LD_LIBRARY_PATH=$(libdir) $(DESTDIR)$(bindir)/suricata-update \ --suricata $(DESTDIR)$(bindir)/suricata \ --suricata-conf $(DESTDIR)$(sysconfdir)/suricata/suricata.yaml \ --no-test --no-reload