a few changes to really compile font drivers in independent single objects..
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
diff --git a/src/psnames/psnames.c b/src/psnames/psnames.c
index f4440de..aa332c8 100644
--- a/src/psnames/psnames.c
+++ b/src/psnames/psnames.c
@@ -1 +1,2 @@
+#define FT_MAKE_OPTION_SINGLE_OBJECT
#include <psdriver.c>
diff --git a/src/sfnt/sfnt.c b/src/sfnt/sfnt.c
index d8eb06b..cdf2c02 100644
--- a/src/sfnt/sfnt.c
+++ b/src/sfnt/sfnt.c
@@ -1,3 +1,5 @@
+#define FT_MAKE_OPTION_SINGLE_OBJECT
+
#include <sfconfig.h>
#include <ttload.c>
#include <ttcmap.c>
diff --git a/src/type1/type1.c b/src/type1/type1.c
index e0f9224..371efe0 100644
--- a/src/type1/type1.c
+++ b/src/type1/type1.c
@@ -28,6 +28,8 @@
/***************************************************************************/
+#define FT_MAKE_OPTION_SINGLE_OBJECT
+
#include <t1driver.c>
#include <t1objs.c>
#include <t1load.c> /* table loader */
diff --git a/src/type1z/type1z.c b/src/type1z/type1z.c
index 422f200..e85b787 100644
--- a/src/type1z/type1z.c
+++ b/src/type1z/type1z.c
@@ -27,7 +27,7 @@
/* */
/***************************************************************************/
-
+#define FT_MAKE_OPTION_SINGLE_OBJECT
#include <t1parse.c>
#include <t1load.c>