aboutsummaryrefslogtreecommitdiff
path: root/gps/core/LocDualContext.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gps/core/LocDualContext.cpp')
-rw-r--r--gps/core/LocDualContext.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/gps/core/LocDualContext.cpp b/gps/core/LocDualContext.cpp
index 578421c..74b2903 100644
--- a/gps/core/LocDualContext.cpp
+++ b/gps/core/LocDualContext.cpp
@@ -33,7 +33,7 @@
#include <unistd.h>
#include <LocDualContext.h>
#include <msg_q.h>
-#include <log_util.h>
+#include <platform_lib_log_util.h>
#include <loc_log.h>
namespace loc_core {
@@ -59,7 +59,11 @@ ContextBase* LocDualContext::mBgContext = NULL;
ContextBase* LocDualContext::mInjectContext = NULL;
// the name must be shorter than 15 chars
const char* LocDualContext::mLocationHalName = "Loc_hal_worker";
+#ifndef USE_GLIB
const char* LocDualContext::mLBSLibName = "liblbs_core.so";
+#else
+const char* LocDualContext::mLBSLibName = "liblbs_core.so.1";
+#endif
pthread_mutex_t LocDualContext::mGetLocContextMutex = PTHREAD_MUTEX_INITIALIZER;