Re: [PATCH libSM] Export only public API symbols

2010-12-06 Thread Gaetan Nadon
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 a

Re: [PATCH libSM] Export only public API symbols

2010-12-06 Thread Julien Cristau
On Mon, Dec 6, 2010 at 12:19:12 -0300, Cristian Rodríguez wrote: > > Signed-off-by: Cristian Rodríguez > --- > src/Makefile.am |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/src/Makefile.am b/src/Makefile.am > index 1098679..d194d3f 100644 > --- a/src/Makefile.

Re: [PATCH libSM] Export only public API symbols

2010-12-06 Thread Cristian Rodríguez
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 El 06/12/10 15:08, Alan Coopersmith escribió: >> -libSM_la_LDFLAGS = -version-number 6:0:1 -no-undefined >> +libSM_la_LDFLAGS = -export-symbols-regex "Sm.*" -version-number 6:0:1 >> -no-undefined >> >> libSM_la_LIBADD = $(SM_LIBS) $(XTRANS_LIBS) >

Re: [PATCH libSM] Export only public API symbols

2010-12-06 Thread Alan Coopersmith
Cristian Rodríguez wrote: > Signed-off-by: Cristian Rodríguez > --- > src/Makefile.am |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/src/Makefile.am b/src/Makefile.am > index 1098679..d194d3f 100644 > --- a/src/Makefile.am > +++ b/src/Makefile.am > @@ -6,7 +6,7 @@

[PATCH libSM] Export only public API symbols

2010-12-06 Thread Cristian Rodríguez
Signed-off-by: Cristian Rodríguez --- src/Makefile.am |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index 1098679..d194d3f 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -6,7 +6,7 @@ if WITH_LIBUUID AM_CFLAGS += $(LIBUUID_CFLA