Hide symbols with gcc.
authorMiroslav Lichvar <mlichvar@redhat.com>
Mon, 3 Dec 2012 20:04:57 +0000 (21:04 +0100)
committerErik de Castro Lopo <erikd@mega-nerd.com>
Tue, 4 Dec 2012 06:45:06 +0000 (17:45 +1100)
commit19c78e58d7030cecf710c7106751d890ea03f982
tree09528047affa34886e812f0ca3d0add51288d271
parent18e01547aca17f638917f875a312f027d779dff4
Hide symbols with gcc.

With gcc >= 4 and ELF, set default visibility to hidden and make visible
only the symbols with FLAC_API or FLACPP_API.

A convenience libFLAC-static.la is created for test_libFLAC as it
depends on the hidden symbols.
configure.ac
include/FLAC++/export.h
include/FLAC/export.h
src/libFLAC/Makefile.am
src/test_libFLAC/Makefile.am