[PATCH libSM] Export only public API symbols

Cristian Rodríguez crrodriguez at opensuse.org
Mon Dec 6 10:11:00 PST 2010


-----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)
>>  
> 
> This is also exporting all the _Sm.* symbols - was that intentional?
> By exporting those, these seems to pretty much be a no-op change, since
> that covers all the symbols produced by the library (unless your compiler
> generates some exported symbols for builtins or such).
> 

Ohh.. right missed a "^" should be  "^Sm.*"

Cheers.



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/

iEYEARECAAYFAkz9JzQACgkQhbiInYWJi9MzAACfdX79pPzi4Wwc149IA6NBFszn
JyQAnixG+8EX2GwtRChBGuPDKpdt7sUj
=2dBU
-----END PGP SIGNATURE-----


More information about the xorg-devel mailing list