termux-packages/configure.patch
Fredrik Fornwall 3f300a10fc Setup libstdc++.so -> libgnustl_shared.so early
Let build-package.sh setup the $PREFIX/lib/libstdc++.so symlink
before building any package, to make sure that all C++ applications
link against a fully featured C++ standard library.

Avoid explicitly declaring a dependency on the libgnustl package
since everyone may link against it at will and instead mark it as
essential.
2016-08-10 19:45:41 -04:00

13 lines
674 B
Diff

diff -u -r ../libvpx-1.5.0/configure ./configure
--- ../libvpx-1.5.0/configure 2015-11-09 17:12:38.000000000 -0500
+++ ./configure 2015-11-17 15:20:15.792584646 -0500
@@ -507,7 +507,7 @@
# Can only build shared libs on a subset of platforms. Doing this check
# here rather than at option parse time because the target auto-detect
# magic happens after the command line has been parsed.
- if ! enabled linux && ! enabled os2; then
+ if ! enabled linux && ! enabled os2 && ! enabled android; then
if enabled gnu; then
echo "--enable-shared is only supported on ELF; assuming this is OK"
else