On Fri, 13 Jun 2014, Luca Barbato wrote:

---
configure | 6 ++++++
1 file changed, 6 insertions(+)

diff --git a/configure b/configure
index 8359c68..ede114c 100755
--- a/configure
+++ b/configure
@@ -3340,6 +3340,12 @@ case $target_os in
        add_cppflags '-I\$(SRC_PATH)/compat/aix'
        enabled shared && add_ldflags -Wl,-brtl
        ;;
+    android)
+        disable symver
+        SLIB_INSTALL_NAME='$(SLIBNAME)'
+        SLIB_INSTALL_LINKS=
+        SHFLAGS=-shared
+        ;;
    haiku)
        prefix_default="/boot/common"
        network_extralibs="-lnetwork"
--
1.8.5.2 (Apple Git-48)

Looks ok to me. Perhaps a comment on SHFLAGS could be worthwhile, saying this is explicitly to not set the soname (so someone doesn't accidentally add it at some point)?

This still creates the libavfoo.so.42 while building which might look a bit misleading/surprising (but avoiding that would be a bit more hacking on the makefiles), but the output files from "make install" is just right.

// Martin
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to