diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2013-03-20 17:18:55 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2013-03-20 17:18:55 -0400 |
commit | 16ce39c2309769789784a1f74e41ce0c49a75282 (patch) | |
tree | b972f83e621ab142577e30392fe61fb3293bee47 /libs/pbd/debug.cc | |
parent | 4caecfa310a973773a74e74939896133ad6d4c8d (diff) |
initial, prototype modifications to permit compilation of local libraries as static libs. required a "fix" to libs/pbd/debug.cc to even get the program up and running, and still does not work due to issues with boost::shared_ptr::enable_shared_from_this. controlled by configure-time --internal-{static,shared}-libs, set to shared by default (as has been the case for years)
Diffstat (limited to 'libs/pbd/debug.cc')
-rw-r--r-- | libs/pbd/debug.cc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libs/pbd/debug.cc b/libs/pbd/debug.cc index 6b526c33ad..98d0fc5091 100644 --- a/libs/pbd/debug.cc +++ b/libs/pbd/debug.cc @@ -30,7 +30,12 @@ using namespace std; static uint64_t _debug_bit = 1; -static std::map<const char*,uint64_t> _debug_bit_map; + +typedef std::map<const char*,uint64_t> DebugMap; + +namespace PBD { + DebugMap _debug_bit_map; +} uint64_t PBD::DEBUG::Stateful = PBD::new_debug_bit ("stateful"); uint64_t PBD::DEBUG::Properties = PBD::new_debug_bit ("properties"); |