Hi Alex, > >> Feel free to drop it if you still disagree with my point. I won't take > >> it personally, I understood your point. :) But I just think that it > >> is good to keep openobex pkgconfig working when using the upstream libusb. > > > > This workaround makes it more worse. Now people can detect openobex > > through pkg-config, but they never link with -lusb and this makes their > > application also useless. > > 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. 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
