]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
Makefile: Make libhtp available at install-rules stage
authorShivani Bhardwaj <shivanib134@gmail.com>
Mon, 7 Oct 2019 18:27:43 +0000 (23:57 +0530)
committerShivani Bhardwaj <shivanib134@gmail.com>
Mon, 7 Oct 2019 18:27:43 +0000 (23:57 +0530)
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

index ff4ba7ef0183de94c74eba756cb5f1db4310fddc..bb7abe112e2cbe64413716f1a468ccbab71880e3 100644 (file)
@@ -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