chiark / gitweb /
protobuf: Remove libgnustl_shared.so setup
authorFredrik Fornwall <fredrik@fornwall.net>
Tue, 21 Jun 2016 20:57:01 +0000 (16:57 -0400)
committerFredrik Fornwall <fredrik@fornwall.net>
Tue, 21 Jun 2016 20:57:01 +0000 (16:57 -0400)
It is no longer needed to link against libgnustl_shared.so
explicitly, it is done automatically for all C++ code.

packages/protobuf/build.sh

index a73eed371fd049716d7948fe783e7728e9d20f2c..1e9e03ad17cc6effa1691be8eed4b9ed7d77c02d 100755 (executable)
@@ -6,8 +6,3 @@ TERMUX_PKG_SRCURL=https://github.com/google/protobuf/releases/download/v${TERMUX
 # Build a host build first and use the host build protoc:
 TERMUX_PKG_HOSTBUILD=yes
 TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--with-protoc=$TERMUX_PKG_HOSTBUILD_DIR/src/protoc"
-# Link against libgnustl_shared.so so that other C++ programs that
-# uses protobuf (e.g. mosh) may use libgnustl_shared.so.
-TERMUX_PKG_DEPENDS="libgnustl"
-
-LDFLAGS+=" -lgnustl_shared"