[vlc-commits] npapi: pass the enable PDB flag to the NPAPI build

Steve Lhomme git at videolan.org
Thu Jun 18 18:31:31 CEST 2020


vlc/vlc-3.0 | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Mon Mar 30 16:48:42 2020 +0200| [fb11dca7b53c784a4367d3609702761ae4d581d8] | committer: Steve Lhomme

npapi: pass the enable PDB flag to the NPAPI build

(cherry picked from commit 188ce8f1681fa96d63d9a08943fbf9d9fa424d3a)
Signed-off-by: Steve Lhomme <robux4 at ycbcr.xyz>

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

 extras/package/npapi.am | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/extras/package/npapi.am b/extras/package/npapi.am
index d75879d716..93f773c432 100644
--- a/extras/package/npapi.am
+++ b/extras/package/npapi.am
@@ -30,11 +30,16 @@ npapi-vlc/configure: stamp-npapi
 	$(SHELL) ./autogen.sh
 	touch $@
 
+if ENABLE_PDB
+ENABLE_PDB_OPTION := --enable-pdb
+endif
+
 npapi-vlc/Makefile: npapi-vlc/configure
 	cd npapi-vlc && \
 	$(SHELL) ./configure \
 		--prefix=/ \
 		--host=$(host_alias) --build=$(build_alias) \
+		$(ENABLE_PDB_OPTION) \
 		CPP="$(CPP)" CPPFLAGS="$(CPPFLAGS)" \
 		CC="$(CC)" CFLAGS="$(CFLAGS)" \
 		CXX="$(CXX)" CXXFLAGS="$(CXXFLAGS)" \



More information about the vlc-commits mailing list