[DVDnav-discuss] [PATCH 1/2] configure: add additional flags to LDFLAGS on OS/2

KO Myung-Hun komh78 at gmail.com
Thu Apr 10 15:57:03 CEST 2014


This allows to build a DLL and to open files in binary mode.
---
 configure.ac |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/configure.ac b/configure.ac
index 9fe4256..9fa0a19 100644
--- a/configure.ac
+++ b/configure.ac
@@ -55,6 +55,9 @@ AC_C_BIGENDIAN
 AS_CASE([$host],
   [*mingw32* | *cygwin*], [AC_CHECK_FUNCS(gettimeofday)])
 
+AS_CASE([$host],
+  [*os2*], LDFLAGS="-no-undefined -Zbin-files $LDFLAGS")
+
 AC_ARG_WITH([libdvdcss],
   AS_HELP_STRING([--with-libdvdcss], [Link directly against libdvdcss @<:@default=no@:>@]))
 
-- 
1.7.3.2



More information about the DVDnav-discuss mailing list