Use the same compilation options on OS X 10.8 as 10.7

Added OS X 10.8 to the conditional which includes dylib during compilation
on 10.7.

Change-Id: Id078e001fd52d82b345249fcf647e0a4802c1f89
Signed-off-by: Al Sutton <al@funkyandroid.com>
diff --git a/emulator/opengl/tests/translator_tests/GLES_CM/Android.mk b/emulator/opengl/tests/translator_tests/GLES_CM/Android.mk
index 77cd272..d47d340 100644
--- a/emulator/opengl/tests/translator_tests/GLES_CM/Android.mk
+++ b/emulator/opengl/tests/translator_tests/GLES_CM/Android.mk
@@ -10,8 +10,8 @@
 
 ifeq ($(HOST_OS),darwin)
   DARWIN_VERSION := $(strip $(shell sw_vers -productVersion))
-  ifneq ($(filter 10.7 10.7.%,$(DARWIN_VERSION)),)
-    # Lion needs to be forced to link dylib to avoid problems
+  ifneq ($(filter 10.7 10.7.% 10.8 10.8.%,$(DARWIN_VERSION)),)
+    # OS X 10.7+ needs to be forced to link dylib to avoid problems
     # with the dynamic function lookups in SDL 1.2
     LOCAL_SDL_LDLIBS += /usr/lib/dylib1.o
   endif
diff --git a/emulator/opengl/tests/translator_tests/GLES_V2/Android.mk b/emulator/opengl/tests/translator_tests/GLES_V2/Android.mk
index 53f774c..2371da7 100644
--- a/emulator/opengl/tests/translator_tests/GLES_V2/Android.mk
+++ b/emulator/opengl/tests/translator_tests/GLES_V2/Android.mk
@@ -18,8 +18,8 @@
 
 ifeq ($(HOST_OS),darwin)
 DARWIN_VERSION := $(strip $(shell sw_vers -productVersion))
-ifneq ($(filter 10.7 10.7.%,$(DARWIN_VERSION)),)
-  # Lion needs to be forced to link dylib to avoid problems
+ifneq ($(filter 10.7 10.7.% 10.8 10.8.%,$(DARWIN_VERSION)),)
+  # OS X 10.7+ needs to be forced to link dylib to avoid problems
   # with the dynamic function lookups in SDL 1.2
   LOCAL_LDLIBS += /usr/lib/dylib1.o
 endif