changeset 5267:9923c60c26b7

7150516: [macosx] appletviewer shouldn't link against libX11 on the Mac Summary: Don't link against libX11 on the Mac Reviewed-by: art
author anthony
date Tue, 27 Mar 2012 15:41:55 +0400
parents 1dd6fe680681
children 4008c98ad48a
files make/launchers/Makefile.launcher
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/make/launchers/Makefile.launcher	Fri Mar 23 15:16:17 2012 +0200
+++ b/make/launchers/Makefile.launcher	Tue Mar 27 15:41:55 2012 +0400
@@ -155,8 +155,10 @@
 # GUI tools
 ifeq ($(GUI_TOOL),true)
   ifneq ($(PLATFORM), windows)
-    # Anything with a GUI needs X11 to be linked in.
-    OTHER_LDLIBS += -L$(OPENWIN_LIB) -lX11
+    ifneq ($(PLATFORM), macosx)
+      # Anything with a GUI needs X11 to be linked in.
+      OTHER_LDLIBS += -L$(OPENWIN_LIB) -lX11
+    endif
   endif
 endif