[vlc-commits] contrib: pthreads: pass the LDFLAGS in LFLAGS and CFLAGS in PTW32_FLAGS

Steve Lhomme git at videolan.org
Mon Jun 15 13:33:03 CEST 2020


vlc/vlc-3.0 | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Thu May 14 12:13:28 2020 +0200| [28b996cc54cb114e9dcfb0001b1db3c1d9a9e6f0] | committer: Steve Lhomme

contrib: pthreads: pass the LDFLAGS in LFLAGS and CFLAGS in PTW32_FLAGS

> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=28b996cc54cb114e9dcfb0001b1db3c1d9a9e6f0
---

 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 c3f15fd0a8..b5617291d3 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



More information about the vlc-commits mailing list