[MPlayer-dev-eng] [PATCH 1/2] configure: remove 'T' flag from ar flags on OS/2

KO Myung-Hun komh78 at gmail.com
Mon Aug 6 11:23:38 EEST 2018


OS/2 linker does not support a thin archive.
---
 configure | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/configure b/configure
index 2e94bf1f0..9d21320ec 100755
--- a/configure
+++ b/configure
@@ -1854,6 +1854,8 @@ if os2 ; then
   # And ensure that $ld_static should be at first in a library list because it
   # has effects only libraries after it.
   test -n "$ld_static" && ld_static='-Wl,-static'
+  # OS/2 linker does not support a thin archive. Remove 'T' flag.
+  _arflags=$(echo $_arflags | tr -d T)
 fi
 
 if wine ; then
-- 
2.13.3



More information about the MPlayer-dev-eng mailing list