Hi,

since the addition of font rotation in src/media/idirectfbfont.c
DirectFB uses sqrt() and thus needs to link with -lm. Below patch
changes the pkg-config file accordingly. Should I push this to the git
repository?


diff --git a/directfb.pc.in b/directfb.pc.in
index 7e53453..af6f907 100644
--- a/directfb.pc.in
+++ b/directfb.pc.in
@@ -7,6 +7,6 @@ Name: DirectFB
 Description: Graphics and windowing library for the Linux frame buffer
device
 Version: @VERSION@
 Requires: @DEP_VOODOO@ fusion direct
-Libs: -L${libdir} -ldirectfb @THREADLIB@ @OSX_LIBS@
+Libs: -L${libdir} -ldirectfb @THREADLIB@ @OSX_LIBS@ -lm
 Libs.private: -L${libdir} @DYNLIB@ @ZLIB_LIBS@
 Cflags: @THREADFLAGS@ -...@includedir@


Sven




_______________________________________________
directfb-dev mailing list
directfb-dev@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to