summaryrefslogtreecommitdiff
path: root/TAO/tao/ORB_Core.cpp
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2005-06-14 09:57:30 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2005-06-14 09:57:30 +0000
commit4c94841483d1d26d1835092b56002fc341971c17 (patch)
tree35f9e74253b902312f2aff69b40d31aa7a85cf18 /TAO/tao/ORB_Core.cpp
parent85ab0c64edd938efd5537702bb2a0fcca2f00399 (diff)
downloadATCD-4c94841483d1d26d1835092b56002fc341971c17.tar.gz
ChangeLogTag: Tue Jun 14 08:48:12 UTC 2005 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'TAO/tao/ORB_Core.cpp')
-rw-r--r--TAO/tao/ORB_Core.cpp11
1 files changed, 5 insertions, 6 deletions
diff --git a/TAO/tao/ORB_Core.cpp b/TAO/tao/ORB_Core.cpp
index 2250683f4f1..772fd335194 100644
--- a/TAO/tao/ORB_Core.cpp
+++ b/TAO/tao/ORB_Core.cpp
@@ -1435,12 +1435,6 @@ TAO_ORB_Core::policy_factory_registry_i (void)
}
TAO::ORBInitializer_Registry_Adapter *
-TAO_ORB_Core::get_orbinitializer_registry (void)
-{
- return this->orbinitializer_registry_;
-}
-
-TAO::ORBInitializer_Registry_Adapter *
TAO_ORB_Core::orbinitializer_registry_i (void)
{
// If not, lookup it up.
@@ -1448,6 +1442,10 @@ TAO_ORB_Core::orbinitializer_registry_i (void)
ACE_Dynamic_Service<TAO::ORBInitializer_Registry_Adapter>::instance
("ORBInitializer_Registry");
+#if !defined (TAO_AS_STATIC_LIBS)
+ // In case we build shared, try to load the PI Client library, in a
+ // static build we just can't do this, so don't try it, lower layers
+ // output an error then.
if (orbinitializer_registry_ == 0)
{
ACE_Service_Config::process_directive (
@@ -1457,6 +1455,7 @@ TAO_ORB_Core::orbinitializer_registry_i (void)
ACE_Dynamic_Service<TAO::ORBInitializer_Registry_Adapter>::instance
("ORBInitializer_Registry");
}
+#endif /* !TAO_AS_STATIC_LIBS */
return this->orbinitializer_registry_;
}