[vlc-commits] [Git][videolan/vlc][master] contrib: gnutls: remove unused GNUTLS_ENV

Steve Lhomme (@robUx4) gitlab at videolan.org
Mon Oct 13 16:28:43 UTC 2025



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
3789a6ba by Steve Lhomme at 2025-10-13T14:09:23+00:00
contrib: gnutls: remove unused GNUTLS_ENV

MAKECONFIGURE is equivalent to
> cd $(BUILD_DIR) && $(HOSTVARS) $(BUILD_SRC)/configure $(HOSTCONF)

The GNUTLS_ENV is only applied on the cd command and useless.
Since it's building fine on Android we don't need it.

This is the only call with an environment variable before MAKECONFIGURE.

The hack was originally added in bead358b379601eb4be6d9914bd3379ff73b50ba
and made useless in cfeea778135bf125ad2720a97199b7f1233b07af.

- - - - -


1 changed file:

- contrib/src/gnutls/rules.mak


Changes:

=====================================
contrib/src/gnutls/rules.mak
=====================================
@@ -62,9 +62,6 @@ ifdef HAVE_WINSTORE
 DEPS_gnutls += alloweduwp $(DEPS_alloweduwp)
 endif
 
-ifdef HAVE_ANDROID
-GNUTLS_ENV := gl_cv_header_working_stdint_h=yes
-endif
 ifdef HAVE_WIN32
 	GNUTLS_CONF += --without-idn
 ifeq ($(ARCH),aarch64)
@@ -75,7 +72,7 @@ endif
 
 .gnutls: gnutls
 	$(MAKEBUILDDIR)
-	$(GNUTLS_ENV) $(MAKECONFIGURE) $(GNUTLS_CONF)
+	$(MAKECONFIGURE) $(GNUTLS_CONF)
 ifdef HAVE_DARWIN_OS
 	# Add missing frameworks to Libs.private for Darwin
 	cd $< && sed -i.orig -e s/"Libs.private:"/"Libs.private: -framework Security -framework CoreFoundation"/g $(BUILD_DIRUNPACK)/lib/gnutls.pc



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/3789a6ba4abdefb8349f6608d3b190185bc22f98

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/3789a6ba4abdefb8349f6608d3b190185bc22f98
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list