--- old/make/launchers/Makefile.launcher 2012-03-23 20:43:54.000000000 +0400 +++ new/make/launchers/Makefile.launcher 2012-03-23 20:43:53.000000000 +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