[vlc-commits] MacOS: always specify a minimum-sdk
Jean-Baptiste Kempf
git at videolan.org
Fri Dec 2 00:24:06 CET 2011
vlc/vlc-1.2 | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed Nov 30 18:38:34 2011 +0100| [c08fa860b569aaf6fea3c44a162711b62732465b] | committer: Jean-Baptiste Kempf
MacOS: always specify a minimum-sdk
This fixes issues on X.6 and X.7 when compiled with SDK10.5
The configure would fail to see -crt10.6 library and die on poll()
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
(cherry picked from commit 46b2ae06c9a04f2c8dc604266d1c55fb4f0f6e53)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.2.git/?a=commit;h=c08fa860b569aaf6fea3c44a162711b62732465b
---
configure.ac | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/configure.ac b/configure.ac
index 2e60ed9..6ef0db1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -177,6 +177,9 @@ case "${host_os}" in
AC_ARG_WITH(macosx-version-min,
[AS_HELP_STRING([--with-macosx-version-min=VERSION],
[compile for MacOS X VERSION and above])])
+ if test "${with_macosx_version_min}" = "" ; then
+ with_macosx_version_min=10.5
+ fi
if test "${with_macosx_version_min}" != "" ; then
CPP="${CPP} -mmacosx-version-min=${with_macosx_version_min}"
CC="${CC} -mmacosx-version-min=${with_macosx_version_min}"
More information about the vlc-commits
mailing list