]> gitweb.factorcode.org Git - factor.git/blobdiff - vm/Config.macosx
Officially support running the X11 UI on Mac OS X
[factor.git] / vm / Config.macosx
index 8e35a3a06a318bf526f3cfb5bf9df6546dc9facb..aa65af4ecfd2c226901b4ecd2e8b5069be428994 100644 (file)
@@ -1,3 +1,8 @@
 include vm/Config.unix
 PLAF_OBJS += vm/os-macosx.o vm/mach_signal.o
-LIBS= -lm -framework Cocoa -framework OpenGL -framework AppKit -L/usr/X11R6/lib -lfreetype
+
+ifdef X11
+       LIBS = -lm -framework Foundation $(X11_UI_LIBS)
+else
+       LIBS = -lm -framework Cocoa -framework OpenGL -framework AppKit -L/usr/X11R6/lib -lfreetype
+endif