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

Rafaël Carré git at videolan.org
Thu Dec 1 19:11:07 CET 2011


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Thu Dec  1 13:10:47 2011 -0500| [85a3a705a22ff8169f887d9900ce7596cd909465] | committer: Rafaël Carré

contrib: use $(shell to check xcode version

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

 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 eef0ac2..66360c7 100644
--- a/contrib/src/main.mak
+++ b/contrib/src/main.mak
@@ -126,7 +126,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