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

git version control git at videolan.org
Mon Sep 8 03:19:02 CEST 2008


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

macosx: fix CPP + SDK usage
(cherry picked from commit 869a67fa3741f01ed56ed596d56152bc405c3f71)

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

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

diff --git a/configure.ac b/configure.ac
index e9afafa..6bf7b6d 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