[vlc-commits] [Git][videolan/vlc][master] contrib: gnutls: Add missing frameworks to Libs.private

Steve Lhomme (@robUx4) gitlab at videolan.org
Fri Nov 11 09:35:04 UTC 2022



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
da8312a4 by Marvin Scholz at 2022-11-11T08:39:01+00:00
contrib: gnutls: Add missing frameworks to Libs.private

This does essentially the same as upstream commit
c19cb93d492e45141bfef9b926dfeba36003261c but by patching
the resulting .pc file, as autoreconf'ing gnutls leads to issues.

- - - - -


1 changed file:

- contrib/src/gnutls/rules.mak


Changes:

=====================================
contrib/src/gnutls/rules.mak
=====================================
@@ -87,6 +87,10 @@ endif
 .gnutls: gnutls
 	$(MAKEBUILDDIR)
 	$(GNUTLS_ENV) $(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
+endif
 	$(call pkg_static,"$(BUILD_DIRUNPACK)/lib/gnutls.pc")
 	+$(MAKEBUILD) -C gl
 	+$(MAKEBUILD) -C lib



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

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/da8312a4178f4539b9f7e398b2bd85a644511252
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