suricata: Proper use confgured LDFLAGS.

Message ID 20201029112007.32111-1-stefan.schantl@ipfire.org
State Accepted
Commit 66970ccba3a74a8fd6338364a215496f6394f3ad
Headers
Series suricata: Proper use confgured LDFLAGS. |

Commit Message

Stefan Schantl Oct. 29, 2020, 11:20 a.m. UTC
  Fixes #12513.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
---
 lfs/suricata | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Patch

diff --git a/lfs/suricata b/lfs/suricata
index d47b43d34..2871d8e7b 100644
--- a/lfs/suricata
+++ b/lfs/suricata
@@ -74,7 +74,7 @@  $(subst %,%_MD5,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
 	@$(PREBUILD)
 	@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
-	cd $(DIR_APP) && ./configure \
+	cd $(DIR_APP) && LDFLAGS="$(LDFLAGS)" ./configure \
 		--prefix=/usr \
 		--sysconfdir=/etc \
 		--localstatedir=/var \