From d3c22181d77c20a102069f4571d7314006b64ee8 Mon Sep 17 00:00:00 2001
From: Lyle Johnson <lyle@lylejohnson.name>
Date: Mon, 9 Nov 2009 11:24:30 -0800
Subject: [PATCH] Make sure -lXft is included on the link line for Linux

---
 ext/fox16/extconf.rb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ext/fox16/extconf.rb b/ext/fox16/extconf.rb
index d9a9a55..ec9664f 100755
--- a/ext/fox16/extconf.rb
+++ b/ext/fox16/extconf.rb
@@ -92,6 +92,7 @@ def do_rake_compiler_setup
   end
   have_library("jpeg", "jpeg_mem_init")
   have_library("tiff", "TIFFSetErrorHandler")
+  have_library("Xft", "XftInit")
   find_library("Xext", "XShmQueryVersion", "/usr/X11R6/lib")
   find_library("X11", "XFindContext", "/usr/X11R6/lib")
   find_library("GL", "glXCreateContext", "/usr/X11R6/lib")
-- 
GitLab