[vlc-commits] contrib: use $(shell to check xcode version

Rafaël Carré git at videolan.org
Fri Dec 2 00:24:09 CET 2011


vlc/vlc-1.2 | branch: master | Rafaël Carré <funman at videolan.org> | Thu Dec  1 13:10:47 2011 -0500| [4f813d27e15effd54d45a8c0f3fae7c393e771d1] | committer: Jean-Baptiste Kempf

contrib: use $(shell to check xcode version
(cherry picked from commit 85a3a705a22ff8169f887d9900ce7596cd909465)

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 contrib/src/main.mak |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/contrib/src/main.mak b/contrib/src/main.mak
index 93ae71a..69d3510 100644
--- a/contrib/src/main.mak
+++ b/contrib/src/main.mak
@@ -127,7 +127,7 @@ EXTRA_LDFLAGS += -m32
 endif
 
 XCODE_FLAGS = -sdk macosx$(OSX_VERSION)
-ifeq ($(xcodebuild -version 2>/dev/null | tee /dev/null|head -1|cut -d\  -f2|cut -d. -f1), 3)
+ifeq ($(shell xcodebuild -version 2>/dev/null | tee /dev/null|head -1|cut -d\  -f2|cut -d. -f1),3)
 # XCode 3 doesn't support -arch
 else
 XCODE_FLAGS += -arch $(ARCH)



More information about the vlc-commits mailing list