[buddy] Restrict the number of exported symbols.

* src/bdd.h, src/bvec.h, src/fdd.h: Declare all exported
symbols using BUDDY_API, a new macro that sets visibility=default.
* src/Makefile.am: Compile with -fvisibility=hidden by default,
and compile the C++ part with -fvisibility-inlines-hidden as well.
This commit is contained in:
Alexandre Duret-Lutz 2013-06-23 23:46:57 +02:00
parent 9ed2d7a1dc
commit b5710663f4
5 changed files with 269 additions and 216 deletions

View file

@ -1,3 +1,12 @@
2013-06-23 Alexandre Duret-Lutz <adl@lrde.epita.fr>
Restrict the number of exported symbols.
* src/bdd.hh, src/bvec.hh, src/fdd.hh: Declare all exported
symbols using BUDDY_API, a new macro that sets visibility=default.
* src/Makefile.am: Compile with -fvisibility=hidden by default,
and compile the C++ part with -fvisibility-inlines-hidden as well.
2012-06-20 Alexandre Duret-Lutz <adl@lrde.epita.fr>
Fix the recent Automake workaround for VPATH builds.