From: =?utf-8?q?Andreas_R=C3=B6nnquist?= <gusnan@debian.org>
Date: Fri, 22 Nov 2024 18:37:29 +0100
Subject: Include LDFLAGS from system in build

---
 build/linux/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/build/linux/Makefile b/build/linux/Makefile
index 5a42806..73babc9 100755
--- a/build/linux/Makefile
+++ b/build/linux/Makefile
@@ -16,10 +16,10 @@ TARGET_ARCH = $(shell uname -m)
 #setup
 
 CC = g++
-COMPILERFLAGS = -Wall
+COMPILERFLAGS = -Wall
 
 ifeq ($(TARGET_OS),Linux)
- LDFLAGS_PLAIN = -lpthread
+ LDFLAGS_PLAIN = -lpthread $(LDFLAGS)
  EXE_PATH = ../../exe/linux_x64/
  LDFLAGS_GFX += `pkg-config --libs sdl2` '-Wl,-R,$$ORIGIN/.'
 
