diff options
-rw-r--r-- | Jamroot.jam | 8 | ||||
-rw-r--r-- | libtmdb/Jamfile.jam | 1 | ||||
-rw-r--r-- | p2pvr/carddaemon/Jamfile.jam | 1 | ||||
-rw-r--r-- | p2pvr/daemon/Jamfile.jam | 1 | ||||
-rw-r--r-- | p2pvr/daemon/unittests/mockDefs.h | 3 | ||||
-rw-r--r-- | p2pvr/daemonbase/Jamfile.jam | 1 | ||||
-rw-r--r-- | p2pvr/devices/Jamfile.jam | 1 | ||||
-rw-r--r-- | p2pvr/devices/mockTuner.h | 3 | ||||
-rw-r--r-- | p2pvr/dvb/Jamfile.jam | 1 | ||||
-rw-r--r-- | p2pvr/ice/Jamfile.jam | 1 | ||||
-rw-r--r-- | p2pvr/lib/Jamfile.jam | 1 | ||||
-rw-r--r-- | p2pvr/p2comp/Jamfile.jam | 1 |
12 files changed, 8 insertions, 15 deletions
diff --git a/Jamroot.jam b/Jamroot.jam index cc16698..f42f929 100644 --- a/Jamroot.jam +++ b/Jamroot.jam @@ -8,13 +8,13 @@ variant coverage : debug ; project : requirements - <variant>release:<cflags>"-std=c++1y" + <variant>release:<cflags>"-std=c++1y -fvisibility=hidden" <variant>release:<linkflags>"-Wl,-z,defs,--warn-once,--gc-sections" - <variant>debug:<cflags>"-W -Wall -Werror -Wwrite-strings -std=c++1y" + <variant>debug:<cflags>"-W -Wall -Werror -Wwrite-strings -std=c++1y -fvisibility=hidden" <variant>debug:<linkflags>"-Wl,-z,defs,--warn-once" - <variant>coverage:<cflags>"-W -Wall -Werror -Wwrite-strings -std=c++1y --coverage" + <variant>coverage:<cflags>"-W -Wall -Werror -Wwrite-strings -std=c++1y --coverage -fvisibility=hidden" <variant>coverage:<linkflags>"-Wl,-z,defs,--warn-once --coverage" - <variant>component:<cflags>"-W -Wall -Werror -Wwrite-strings -std=c++1y -fPIC" + <variant>component:<cflags>"-W -Wall -Werror -Wwrite-strings -std=c++1y -fPIC -fvisibility=hidden" <variant>component:<linkflags>"-Wl,-z,lazy,--warn-once,-fPIC" ; diff --git a/libtmdb/Jamfile.jam b/libtmdb/Jamfile.jam index 668af7d..0e87cb6 100644 --- a/libtmdb/Jamfile.jam +++ b/libtmdb/Jamfile.jam @@ -29,7 +29,6 @@ lib tmdb : <library>curl <library>adhocutil <slicer>yes - <cflags>-fvisibility=hidden : : <include>. <library>Ice diff --git a/p2pvr/carddaemon/Jamfile.jam b/p2pvr/carddaemon/Jamfile.jam index 2bbc750..7088966 100644 --- a/p2pvr/carddaemon/Jamfile.jam +++ b/p2pvr/carddaemon/Jamfile.jam @@ -5,5 +5,4 @@ lib p2pvrcarddaemon : <library>../ice//p2pvrice <library>../devices//p2pvrdevices <library>../daemonbase//p2pvrdaemonbase - <cflags>-fvisibility=hidden ; diff --git a/p2pvr/daemon/Jamfile.jam b/p2pvr/daemon/Jamfile.jam index 0bd9c52..369e714 100644 --- a/p2pvr/daemon/Jamfile.jam +++ b/p2pvr/daemon/Jamfile.jam @@ -23,7 +23,6 @@ lib p2pvrdaemon : <library>../devices//p2pvrdevices <library>../daemonbase//p2pvrdaemonbase <library>..//adhocutil - <cflags>-fvisibility=hidden <implicit-dependency>../../libtmdb//tmdb <library>slicer <library>slicer-db diff --git a/p2pvr/daemon/unittests/mockDefs.h b/p2pvr/daemon/unittests/mockDefs.h index bf5481d..b16b47d 100644 --- a/p2pvr/daemon/unittests/mockDefs.h +++ b/p2pvr/daemon/unittests/mockDefs.h @@ -2,8 +2,9 @@ #define MOCKDEFS_H #include <pq-mock.h> +#include <visibility.h> -#define DECLAREMOCK(Name) class Name : public PQ::Mock { public: Name(); } +#define DECLAREMOCK(Name) class DLL_PUBLIC Name : public PQ::Mock { public: Name(); } DECLAREMOCK(SchemaOnlyMockDatabase); DECLAREMOCK(StandardMockDatabase); diff --git a/p2pvr/daemonbase/Jamfile.jam b/p2pvr/daemonbase/Jamfile.jam index 76a4da9..f02a172 100644 --- a/p2pvr/daemonbase/Jamfile.jam +++ b/p2pvr/daemonbase/Jamfile.jam @@ -15,7 +15,6 @@ lib p2pvrdaemonbase : <library>../lib//p2pvrlib <library>../ice//p2pvrice <library>..//adhocutil - <cflags>-fvisibility=hidden <implicit-dependency>../ice//p2pvrice : : <implicit-dependency>../ice//p2pvrice diff --git a/p2pvr/devices/Jamfile.jam b/p2pvr/devices/Jamfile.jam index 47a68bc..f39256b 100644 --- a/p2pvr/devices/Jamfile.jam +++ b/p2pvr/devices/Jamfile.jam @@ -25,7 +25,6 @@ lib p2pvrdevices : <library>..//p2common <library>..//adhocutil <implicit-dependency>../ice//p2pvrice - <cflags>-fvisibility=hidden : : <library>boost_filesystem <implicit-dependency>../ice//p2pvrice diff --git a/p2pvr/devices/mockTuner.h b/p2pvr/devices/mockTuner.h index aa51580..d640209 100644 --- a/p2pvr/devices/mockTuner.h +++ b/p2pvr/devices/mockTuner.h @@ -2,10 +2,11 @@ #define P2PVR_MOCKTUNER_H #include <dvb.h> +#include <visibility.h> #include <Ice/BuiltinSequences.h> #include <boost/thread.hpp> -class MockTuner : public P2PVR::PrivateTuner { +class DLL_PUBLIC MockTuner : public P2PVR::PrivateTuner { public: MockTuner(); diff --git a/p2pvr/dvb/Jamfile.jam b/p2pvr/dvb/Jamfile.jam index 76f2058..e71093a 100644 --- a/p2pvr/dvb/Jamfile.jam +++ b/p2pvr/dvb/Jamfile.jam @@ -8,7 +8,6 @@ lib p2pvrdvb : : <library>../ice//p2pvrice <library>..//adhocutil - <cflags>-fvisibility=hidden <implicit-dependency>../ice//p2pvrice : : <implicit-dependency>../ice//p2pvrice diff --git a/p2pvr/ice/Jamfile.jam b/p2pvr/ice/Jamfile.jam index 98d6018..ca27324 100644 --- a/p2pvr/ice/Jamfile.jam +++ b/p2pvr/ice/Jamfile.jam @@ -12,7 +12,6 @@ lib p2pvrice : <library>..//adhocutil <library>..//p2ice <library>slicer - <cflags>-fvisibility=hidden <slicer>yes : : <include>. diff --git a/p2pvr/lib/Jamfile.jam b/p2pvr/lib/Jamfile.jam index 25cc85b..31974b7 100644 --- a/p2pvr/lib/Jamfile.jam +++ b/p2pvr/lib/Jamfile.jam @@ -22,7 +22,6 @@ lib p2pvrlib : <library>..//adhocutil <implicit-dependency>../ice//p2pvrice <library>slicer - <cflags>-fvisibility=hidden : : <library>boost_filesystem <implicit-dependency>../ice//p2pvrice diff --git a/p2pvr/p2comp/Jamfile.jam b/p2pvr/p2comp/Jamfile.jam index 95d27fa..a62751f 100644 --- a/p2pvr/p2comp/Jamfile.jam +++ b/p2pvr/p2comp/Jamfile.jam @@ -7,6 +7,5 @@ lib p2pvrp2comp : <library>..//p2ice <library>..//p2cgi <library>..//adhocutil - <cflags>-fvisibility=hidden <implicit-dependency>../ice//p2pvrice ; |