[libdvdnav-devel] configure: add -no-undefined to LDFLAGS on OS/2
KO Myung-Hun
git at videolan.org
Thu Jul 31 01:25:46 CEST 2014
libdvdnav | branch: master | KO Myung-Hun <komh78 at gmail.com> | Sun Jul 13 16:11:56 2014 +0900| [3d67eb58b4022da0202f891b48bd8bf6c7f12644] | committer: Jean-Baptiste Kempf
configure: add -no-undefined to LDFLAGS on OS/2
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/libdvdnav.git/?a=commit;h=3d67eb58b4022da0202f891b48bd8bf6c7f12644
---
configure.ac | 3 +++
1 file changed, 3 insertions(+)
diff --git a/configure.ac b/configure.ac
index 1fe965e..9f71946 100644
--- a/configure.ac
+++ b/configure.ac
@@ -72,6 +72,9 @@ AC_C_BIGENDIAN
AS_CASE([$host],
[*mingw32* | *cygwin*], [AC_CHECK_FUNCS(gettimeofday)])
+AS_CASE([$host],
+ [*os2*], [LDFLAGS="$LDFLAGS -no-undefined"])
+
dnl ---------------------------------------------
dnl threads
dnl ---------------------------------------------
More information about the libdvdnav-devel
mailing list