[vlc-devel] [PATCH] tools: remove protoc pkgconfig files

Sean McGovern gseanmcg at gmail.com
Tue Nov 11 18:51:06 CET 2014


---
This allows the protobuf version in contrib/ to build correctly.
---
 extras/tools/tools.mak |    1 +
 1 file changed, 1 insertion(+)

diff --git a/extras/tools/tools.mak b/extras/tools/tools.mak
index 27d99c0..1a76d73 100644
--- a/extras/tools/tools.mak
+++ b/extras/tools/tools.mak
@@ -279,6 +279,7 @@ protobuf: protobuf-$(PROTOBUF_VERSION).tar.bz2
 
 .protoc: protobuf
 	(cd $< && ./configure --prefix="$(PREFIX)" --disable-shared --enable-static && $(MAKE) && $(MAKE) install)
+	(find $(PREFIX) -name 'protobuf*.pc' -exec rm -f {} \;)
 	touch $@
 
 CLEAN_PKG += protobuf
-- 
1.7.9.2




More information about the vlc-devel mailing list