freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Devel] [patch] 2.1.9: Link libm into ftview, ftmulti and ftgamma


From: Maciej W. Rozycki
Subject: [Devel] [patch] 2.1.9: Link libm into ftview, ftmulti and ftgamma
Date: Mon, 19 Jul 2004 18:50:36 +0200 (CEST)

Hello,

 The ftview, ftmulti and ftgamma programs from the ft2demos distribution
use the pow() function, which is defined in libm, but they are not linked
against the library.  The problem has been observed for the mipsel-linux
and the i386-linux hosts (using glibc 2.2.5).

 Here is an obvious patch that works for me.

2004-07-19  Maciej W. Rozycki  <address@hidden>

        * Makefile: Link `ftview', `ftmulti' and `ftgamma' against libm 
        for pow().

 Please apply.

  Maciej

ft2demos-2.1.9-pow.patch
diff -up --recursive --new-file ft2demos-2.1.9.macro/Makefile 
ft2demos-2.1.9/Makefile
--- ft2demos-2.1.9.macro/Makefile       2004-05-25 12:29:10.000000000 +0000
+++ ft2demos-2.1.9/Makefile     2004-07-18 14:43:27.000000000 +0000
@@ -357,15 +357,15 @@ else
 
   $(BIN_DIR)/ftview$E: $(OBJ_DIR)/ftview.$(SO) $(FTLIB) \
                        $(GRAPH_LIB) $(COMMON_OBJ)
-         $(GRAPH_LINK)
+         $(GRAPH_LINK) $(MATH)
 
   $(BIN_DIR)/ftgamma$E: $(OBJ_DIR)/ftgamma.$(SO) $(FTLIB) \
                        $(GRAPH_LIB) $(COMMON_OBJ)
-         $(GRAPH_LINK)
+         $(GRAPH_LINK) $(MATH)
 
   $(BIN_DIR)/ftmulti$E: $(OBJ_DIR)/ftmulti.$(SO) $(FTLIB) \
                         $(GRAPH_LIB) $(COMMON_OBJ)
-         $(GRAPH_LINK)
+         $(GRAPH_LINK) $(MATH)
 
   $(BIN_DIR)/ftstring$E: $(OBJ_DIR)/ftstring.$(SO) $(FTLIB) \
                          $(GRAPH_LIB) $(COMMON_OBJ)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]