<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.26.0">
</HEAD>
<BODY>
On Mon, 2010-12-06 at 20:35 +0100, Julien Cristau wrote:<BR>
<BLOCKQUOTE TYPE=CITE>
<TT><FONT COLOR="#737373">> +libSM_la_LDFLAGS = -export-symbols-regex "Sm.*" -version-number 6:0:1 -no-undefined</FONT></TT><BR>
<TT><FONT COLOR="#737373">> </FONT></TT><BR>
<TT><FONT COLOR="#1a1a1a">Do we want to use that rather than explicitly adding _X_EXPORT or</FONT></TT><BR>
<TT><FONT COLOR="#1a1a1a">_X_HIDDEN to the right places in the source?</FONT></TT><BR>
</BLOCKQUOTE>
<BR>
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.<BR>
<BR>
It would be nice to hear from Christian on what prompted this patch. Any incident occurred recently or something along those lines?
</BODY>
</HTML>