tools: build protoc support libraries as static
authorSean McGovern <gseanmcg@gmail.com>
Sat, 1 Nov 2014 14:43:37 +0000 (10:43 -0400)
committerJean-Baptiste Kempf <jb@videolan.org>
Sat, 1 Nov 2014 17:47:42 +0000 (18:47 +0100)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
extras/tools/tools.mak

index 33486e6..e249918 100644 (file)
@@ -278,7 +278,7 @@ protobuf: protobuf-$(PROTOBUF_VERSION).tar.bz2
        $(MOVE)
 
 .protoc: protobuf
-       (cd $< && ./configure --prefix="$(PREFIX)" && $(MAKE) && $(MAKE) install)
+       (cd $< && ./configure --prefix="$(PREFIX)" --disable-shared --enable-static && $(MAKE) && $(MAKE) install)
        touch $@
 
 CLEAN_PKG += protobuf