build: Disable yagl on MacOS to build correctly
authorsyeon.hwang <syeon.hwang@samsung.com>
Wed, 28 Nov 2012 07:59:05 +0000 (16:59 +0900)
committersyeon.hwang <syeon.hwang@samsung.com>
Wed, 28 Nov 2012 07:59:05 +0000 (16:59 +0900)
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
tizen/emulator_configure.sh

index 8b7ce63..68442be 100755 (executable)
@@ -87,7 +87,7 @@ set_target() {
   ;;
   arm)
     EMUL_TARGET_LIST="arm-softmmu"
-    if [ -z "$YAGL_EN" ] && [ -z "$VIRTIOGL_EN" ] ; then
+    if [ -z "$YAGL_EN" ] && [ -z "$VIRTIOGL_EN" ] && [ "$targetos" != "Darwin" ] ; then
       yagl_enable yes
     fi
   ;;
@@ -96,7 +96,7 @@ set_target() {
     if [ -z "$VIRTIOGL_EN" ] ; then
       virtgl_enable yes
     fi
-    if [ -z "$YAGL_EN" ] ; then    
+    if [ -z "$YAGL_EN" ] && [ "$targetos" != "Darwin" ] ; then    
       yagl_enable yes
     fi
   ;;