]> git.sesse.net Git - vlc/commitdiff
Protobuf: don't compile protoc in Xcompilation
authorJean-Baptiste Kempf <jb@videolan.org>
Wed, 8 Oct 2014 10:59:11 +0000 (12:59 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Wed, 8 Oct 2014 10:59:11 +0000 (12:59 +0200)
contrib/src/protobuf/rules.mak

index 9fbd339ba9d96e2c371d909d2fe2255c507f5ff9..c1d0d24f1825a2b3b0b3914176fa7c56fb502ef3 100644 (file)
@@ -23,11 +23,6 @@ endif
 
 .protobuf: protobuf
        $(RECONF)
-# Local protoc Compiler
-ifdef HAVE_CROSS_COMPILE
-       cd $< && ./configure --prefix="$(PREFIX)" && $(MAKE) install
-       cd $< && $(MAKE) clean
-endif
        cd $< && $(HOSTVARS) ./configure $(HOSTCONF) --with-protoc=protoc
        cd $< && $(MAKE) install
        touch $@