aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/config/cf/Server.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11/config/cf/Server.tmpl')
-rw-r--r--nx-X11/config/cf/Server.tmpl8
1 files changed, 8 insertions, 0 deletions
diff --git a/nx-X11/config/cf/Server.tmpl b/nx-X11/config/cf/Server.tmpl
index ffdca6811..bae6f3b02 100644
--- a/nx-X11/config/cf/Server.tmpl
+++ b/nx-X11/config/cf/Server.tmpl
@@ -70,3 +70,11 @@ GLX_DEFINES = GlxDefines
#ifdef XorgVersion
#include <xorg.tmpl>
#endif
+
+#if HasXfont2
+FONT_DEFINES = -DHAS_XFONT2
+ XFONTLIB = -lXfont2
+#else
+FONT_DEFINES =
+ XFONTLIB = -lXfont
+#endif