Hi Sven, No, this should be implicit, i.e. libdirectfb.so should have libm.so in its DT_NEEDED section.
Cheers, Andre' On Tue, 2010-11-02 at 10:11 +0100, Sven Neumann wrote: > 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 _______________________________________________ directfb-dev mailing list directfb-dev@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev