[libdvdcss-devel] libdvdcss.so does not distinguish internal from exposed API
Fabian Greffrath
fabian at greffrath.com
Wed Jan 25 16:30:12 CET 2012
Am 25.01.2012 11:56, schrieb Fabian Greffrath:
> or otherwise declare the _dvdcss_*, _print_* and ioctl_* symbols as
> internal/local.
Actually, there is already code prepared for this in
src/dvdcss/dvdcss.h, lines 59-65. However, it does not seem to have
any effect on Linux systems. If I replace the instructions in these
lines with
#define LIBDVDCSS_EXPORT __attribute__ ((visibility ("default"))) extern
and compile with "CFLAGS += -fvisibility=hidden" then everything comes
out as expected and the library only exposes its actual public API.
- Fabian
More information about the libdvdcss-devel
mailing list