On Tuesday, November 09, 2010 10:59:38 Sven Neumann wrote: > On Tue, 2010-11-09 at 09:16 -0500, Mike Frysinger wrote: > > > It might make sense to find a solution though that avoids pulling in > > > libm just for the two calls to sqrt() in a seldomly used feature... > > > > add -lm to Libs.private > > That doesn't avoid the dependency on sqrt().
i didnt say it would. dynamic libs (like libdirectfb.so) should have a DT_NEEDED entry for libm.so and that should be sufficient for -ldirecttfb. thus -lm should be necessary only for static linking. if libdirectfb.so is not linked against -lm, then the generation of the shared lib is broken. but that doesnt mean the .pc should be hacked with an entry in Libs: to work around it. lack of real details as to what is failing makes helping find the right fix much harder. -mike
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ directfb-dev mailing list directfb-dev@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev