]> git.mdlowis.com Git - projs/tide.git/commitdiff
added config for freetype
authorMichael D. Lowis <mike@mdlowis.com>
Tue, 9 Jul 2019 01:41:28 +0000 (21:41 -0400)
committerMichael D. Lowis <mike@mdlowis.com>
Tue, 9 Jul 2019 01:41:28 +0000 (21:41 -0400)
Rsconscript

index 5273fb4e377aca040fbf99d826a1df7a5b6458a2..670f7e1be9962e967ed9ac75898c9a5cbb82c73b 100644 (file)
@@ -1,15 +1,12 @@
 configure do
   check_c_compiler "clang", "gcc"
+  check_cfg program: "freetype-config"
 end
 
 build do
   env = Environment.new
   env["CC"] = "./acc"
-  env["CPPPATH"] += %w[
-    . inc
-    /usr/X11/include
-    /usr/X11/include/freetype2
-  ]
+  env["CPPPATH"] += %w[. inc /usr/X11/include]
   env["LIBPATH"] += %w[. /usr/X11/lib]
 
   # Build library and binaries