From 5fbb7cef0a747de786a693945dac4632ff9e203a Mon Sep 17 00:00:00 2001 From: Shivani Bhardwaj Date: Mon, 7 Oct 2019 23:57:43 +0530 Subject: [PATCH] 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. --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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