[libdvdnav-devel] configure: add additional flags to LDFLAGS on OS/2
KO Myung-Hun
git at videolan.org
Sat Apr 12 11:30:18 CEST 2014
libdvdread | branch: master | KO Myung-Hun <komh78 at gmail.com> | Thu Apr 10 22:57:03 2014 +0900| [9818650809d02ed9603686232ade3537234e74e8] | committer: Jean-Baptiste Kempf
configure: add additional flags to LDFLAGS on OS/2
This allows to build a DLL and to open files in binary mode.
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/libdvdread.git/?a=commit;h=9818650809d02ed9603686232ade3537234e74e8
---
configure.ac | 3 +++
1 file changed, 3 insertions(+)
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@:>@]))
More information about the libdvdnav-devel
mailing list