tools: remove protoc pkgconfig files
authorSean McGovern <gseanmcg@gmail.com>
Tue, 11 Nov 2014 16:51:06 +0000 (16:51 +0000)
committerJean-Baptiste Kempf <jb@videolan.org>
Sat, 15 Nov 2014 11:30:33 +0000 (12:30 +0100)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
extras/tools/tools.mak

index e249918..45219b5 100644 (file)
@@ -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