[FFmpeg-cvslog] AIX: add support for shared builds

Michael Kostylev git at videolan.org
Sat Jul 27 09:18:37 CEST 2013


ffmpeg | branch: master | Michael Kostylev <michael.kostylev at gmail.com> | Thu Jul 25 11:37:20 2013 -0400| [80ade7985cd95156e2156f50adc7b86d0e43a07a] | committer: Diego Biurrun

AIX: add support for shared builds

Signed-off-by: Diego Biurrun <diego at biurrun.de>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=80ade7985cd95156e2156f50adc7b86d0e43a07a
---

 configure |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/configure b/configure
index adda2cf..6b52eff 100755
--- a/configure
+++ b/configure
@@ -3050,7 +3050,10 @@ enabled spic && enable_weak pic
 # OS specific
 case $target_os in
     aix)
+        SHFLAGS=-shared
         add_cppflags '-I\$(SRC_PATH)/compat/aix'
+        enabled shared && add_ldflags -Wl,-brtl
+        ar_default='ar -Xany'
         ;;
     haiku)
         prefix_default="/boot/common"



More information about the ffmpeg-cvslog mailing list