[vlc-devel] [PATCH 3.0 2/2] contrib: pthreads: pass the LDFLAGS in LFLAGS and CFLAGS in PTW32_FLAGS

Steve Lhomme robux4 at ycbcr.xyz
Wed Jun 10 14:37:18 CEST 2020


---
 contrib/src/pthreads/rules.mak | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/contrib/src/pthreads/rules.mak b/contrib/src/pthreads/rules.mak
index c3f15fd0a89..b5617291d37 100644
--- a/contrib/src/pthreads/rules.mak
+++ b/contrib/src/pthreads/rules.mak
@@ -25,8 +25,9 @@ endif
 	$(APPLY) $(SRC)/pthreads/arm64.patch
 	$(MOVE)
 
+PTHREADS_W32_CONF := LFLAGS="$(LDFLAGS)" PTW32_FLAGS="$(CFLAGS)"
 ifdef HAVE_CROSS_COMPILE
-PTHREADS_W32_CONF := CROSS="$(HOST)-"
+PTHREADS_W32_CONF += CROSS="$(HOST)-"
 endif
 
 .pthreads: pthreads
-- 
2.26.2



More information about the vlc-devel mailing list