Hi Alex, > >> Not at all. Libusb is not required for applications that want to use USB > >> functionality of openobex, and shouldn't be in openobex.pc. Eduardo's fix > >> seems correct to me, for this reason. > > > > this actually only works if the libtool magic is doing everything right > > and otherwise you have to link against -lusb by yourself. The dependency > > is the safe way to do it. > > Can you give an example when it's not doing everything right? obex_test > was never linked with libusb (until you added this requirement in > december), and I haven't heard even one complaint about it. Perhaps the > author of the USB howto can provide his two cents also. > about it.
I haven't seen such problem for quite some time, but I ran into various of them some years ago. Everything depends on a correct dependency_libs line in the *.la file of the library. Feel free to convince me otherwise and I am happily removing the additional requires line from the openobex.pc file. Regards Marcel ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ Openobex-users mailing list [email protected] http://lists.sourceforge.net/lists/listinfo/openobex-users
