On Mon, 2010-12-06 at 20:35 +0100, Julien Cristau wrote: > > +libSM_la_LDFLAGS = -export-symbols-regex "Sm.*" -version-number > 6:0:1 -no-undefined > > > Do we want to use that rather than explicitly adding _X_EXPORT or > _X_HIDDEN to the right places in the source?
That sounds like a better alternative. It may be a bit more work now, but on the long term the regex method is rather brittle as it relies on a naming convention. As Alan pointed out, it may be a noop in many libs as all the symbols are part of the public API. It would be nice to hear from Christian on what prompted this patch. Any incident occurred recently or something along those lines?
signature.asc
Description: This is a digitally signed message part
_______________________________________________ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel