[libdvdcss-devel] [PATCH] Re: libdvdcss.so does not distinguish internal from exposed API
Fabian Greffrath
fabian at greffrath.com
Wed Jan 25 17:24:58 CET 2012
Alright, my last post for today.
The attached patch sets the appropriate visibility attributes for the
exported symbols when compiled with GCC (>= 4). It requires the code
to get compiled with -fvisibility=hidden to take effect, though.
I think the src/Makefile.am part of the patch may require some
conditionals to check if the used compiler is GCC 4.x. It may as well
get excluded from the patch and left for the user/packager to add to
the actual build/packaging process.
- Fabian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: symbol-visibility2.patch
Type: text/x-diff
Size: 904 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/libdvdcss-devel/attachments/20120125/80f68823/attachment.patch>
More information about the libdvdcss-devel
mailing list