[PATCH libSM] Export only public API symbols

Julien Cristau jcristau at debian.org
Mon Dec 6 11:35:41 PST 2010


On Mon, Dec  6, 2010 at 12:19:12 -0300, Cristian Rodríguez wrote:

> 
> Signed-off-by: Cristian Rodríguez <cristian.rodriguez at opensuse.org>
> ---
>  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_CFLAGS) -DHAVE_LIBUUID
>  endif
>  
> -libSM_la_LDFLAGS = -version-number 6:0:1 -no-undefined
> +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?

Cheers,
Julien


More information about the xorg-devel mailing list