[vlc-devel] [PATCH 1/2] npapi: pass the PKG_CONFIG we selected

Steve Lhomme robux4 at ycbcr.xyz
Tue Mar 31 10:19:32 CEST 2020


It may not be TRIPLET-pkg-config in some cases.
---
 extras/package/npapi.am | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/extras/package/npapi.am b/extras/package/npapi.am
index 7b8e002579f..6bcbb783702 100644
--- a/extras/package/npapi.am
+++ b/extras/package/npapi.am
@@ -40,7 +40,8 @@ npapi-vlc/Makefile: npapi-vlc/configure
 		CXX="$(CXX)" CXXFLAGS="$(CXXFLAGS)" \
 		LD="$(LD)" LDFLAGS="$(LDFLAGS)" \
 		SHELL="$(SHELL)" \
-		PKG_CONFIG_PATH="$(libdir)/pkgconfig:$(CONTRIB_DIR)/lib/pkgconfig"
+		PKG_CONFIG_PATH="$(libdir)/pkgconfig:$(CONTRIB_DIR)/lib/pkgconfig" \
+		PKG_CONFIG="$(PKG_CONFIG)"
 	touch $@
 
 npapi-vlc/activex/axvlc.la: npapi-vlc/Makefile
-- 
2.17.1



More information about the vlc-devel mailing list