On Sun, 2009-04-05 at 20:40 +0100, Chris Young wrote: > Of course, at that time of the morning when I'm in a rush, I obviously > accidentally send it to the wrong address. Apologies if some of this > isn't relevant now. > > === BEGIN FORWARDED MESSAGE === > On Fri, 03 Apr 2009 02:27:10 -0000, wrote: > > > + $(eval $(call feature_enabled,HUBBUB,-DWITH_HUBBUB,-lhubbub0 > > -lparserutils0,Hubbub HTML parser)) > > + $(eval $(call feature_enabled,BMP,-DWITH_BMP,-lnsbmp0,NetSurf BMP > > decoder)) > > + $(eval $(call feature_enabled,GIF,-DWITH_GIF,-lnsgif0,NetSurf GIF > > decoder)) > > Should these not be -lhubbub-0 as they are further down?
No. The library name is lib<foo><major-version>. The pkg-config file is lib<foo>-<major-version>. This is the same scheme as many other libraries, so I don't see any good reason to change it. > Also it might be an idea to add > -Wl,soname=libhubbub-0.so > etc to the build system and then they can just be referenced as > -lhubbub with the proper symlinking (apologies if you've done this - > it's 4AM!) All the libraries set the soname correctly. You still need -l<foo><major-version>, anyway, to avoid linking with an incompatible version of the library (.so.N isn't as helpful as it could be, alas). J.
