On Don, 2010-09-16 at 11:43 -0400, Chris King wrote: > 2010/9/16 Michel Dänzer <daen...@debian.org>: > > I'm leaning towards considering libgl1-mesa-swx11-dev shipping libGL.a a > > mistake rather than libgl1-mesa-dev not shipping one. > > Why, may I ask? Because there are multiple implementations of libGL?
Exactly. > > The downside is that the wrapper becomes specific to the libGL linked > > statically, whereas a dlopen based wrapper would work with any libGL > > conforming to the libGL ABI. Surely the stub generation can be automated > > at least to some degree, maybe the Mesa glapi scripts can be (ab)used > > for that. > > Yes, I did end up writing a stub generator, since I was planning to > for the final project anyway. Having the static library would simply > have been more convenient for development & testing. It occurred to me that there might also be a way to make symbols you don't want to wrap be automagically resolved from the wrapped libGL, but I don't know how offhand. -- Earthling Michel Dänzer | http://www.vmware.com Libre software enthusiast | Debian, X and DRI developer -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org