media-video/srs: respecting LDFLAGS

Closes: https://bugs.gentoo.org/975387
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
This commit is contained in:
Alfredo Tupone
2026-05-21 10:30:17 +02:00
parent 67e19e7c80
commit 4aeffa587e
2 changed files with 12 additions and 0 deletions
@@ -0,0 +1,11 @@
--- a/configure 2026-05-21 10:21:19.828464998 +0200
+++ b/configure 2026-05-21 10:21:37.367263883 +0200
@@ -130,7 +130,7 @@
GCC = ${SRS_TOOL_CC}
CXX = ${SRS_TOOL_CXX}
AR = ${SRS_TOOL_AR}
-LINK = ${SRS_TOOL_CXX}
+LINK = ${SRS_TOOL_CXX} \$(LDFLAGS)
CXXFLAGS = ${CXXFLAGS}
.PHONY: default srs srs_ingest_hls
+1
View File
@@ -28,6 +28,7 @@ PATCHES=(
"${FILESDIR}"/${P}-configure.patch
"${FILESDIR}"/${P}-execStack.patch
"${FILESDIR}"/${P}-fixAliasing.patch
"${FILESDIR}"/${P}-LDFLAGS.patch
)
src_prepare() {