Setup libstdc++.so -> libgnustl_shared.so early
[termux-packages] / packages / libvpx / configure.patch
index 05b4114..84ce7f3 100644 (file)
@@ -1,12 +1,12 @@
-diff -u -r ../libvpx-v1.3.0/configure ./configure
---- ../libvpx-v1.3.0/configure 2014-01-10 21:12:42.000000000 +0100
-+++ ./configure        2014-03-03 21:21:38.000000000 +0100
-@@ -505,7 +505,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; then
-+        if ! enabled linux && ! enabled android; then
-             if enabled gnu; then
+diff -u -r ../libvpx-1.6.0/configure ./configure
+--- ../libvpx-1.6.0/configure  2016-07-20 21:15:41.000000000 -0400
++++ ./configure        2016-08-10 19:36:59.873847660 -0400
+@@ -509,7 +509,7 @@
+             # Supported platforms
+             ;;
+         *)
+-            if enabled gnu; then
++            if enabled gnu || enabled android; then
                  echo "--enable-shared is only supported on ELF; assuming this is OK"
              else
+                 die "--enable-shared only supported on ELF, OS/2, and Darwin for now"