On Tue, Jul 23, 2013 at 10:18 AM, Peter Stuge <pe...@stuge.se> wrote: > Paul Fertser wrote: >> I'm not sure the best way to fix the code - sorry - but I think it >> needs doing at the C (not linker) level. > > The fix for this is not in the code. The fix is to use pkg-config, as > I pointed out already in my review of the student code which > introduced libusb-1.0 into OpenOCD in the first place. Since that > code was included into openocd.git without consideration of my review > effort now unfortunately more people need to waste their time in > order to clean up the mess that resulted. > > *This* is what pkg-config does! I so hope that makes sense, but I > honestly don't dare to expect anything..
There are patches which will fix the issue. Maybe you can contribute by review the changes here. http://openocd.zylin.com/#/c/1467/ The initial proposal is to add option pkg-config support. http://openocd.zylin.com/#/c/1465/ But I think the current direction seem to go for pure pkg-config support. http://openocd.zylin.com/#/c/1475/ -- Xiaofan ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ OpenOCD-devel mailing list OpenOCD-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openocd-devel