[vlc-devel] commit: macosx: fix CPP + SDK usage (Derk-Jan Hartman )

git version control git at videolan.org
Fri Sep 5 16:43:32 CEST 2008


vlc | branch: master | Derk-Jan Hartman <hartman at videolan.org> | Fri Sep  5 16:46:26 2008 +0200| [869a67fa3741f01ed56ed596d56152bc405c3f71] | committer: Derk-Jan Hartman 

macosx: fix CPP + SDK usage

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=869a67fa3741f01ed56ed596d56152bc405c3f71
---

 configure.ac |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/configure.ac b/configure.ac
index 0aeb086..75073cb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -275,6 +275,7 @@ case "${host_os}" in
     AC_ARG_WITH(macosx-sdk,
        [  --with-macosx-sdk=DIR   compile using the SDK in DIR])
     if test "${with_macosx_sdk}" != "" ; then
+        CPP="${CPP} -isysroot ${with_macosx_sdk}" 
         CC="${CC} -isysroot ${with_macosx_sdk}" 
         CXX="${CXX} -isysroot ${with_macosx_sdk}"
         OBJC="${OBJC} -isysroot ${with_macosx_sdk}"
@@ -283,6 +284,7 @@ case "${host_os}" in
     AC_ARG_WITH(macosx-version-min,
        [  --with-macosx-version-min=VERSION  compile for MacOSX VERSION and above])
     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}" 
         CXX="${CXX} -mmacosx-version-min=${with_macosx_version_min}"
         OBJC="${OBJC} -mmacosx-version-min=${with_macosx_version_min}"




More information about the vlc-devel mailing list