ADD_DEFINITIONS("-DPREFIX=\"${CMAKE_INSTALL_PREFIX}\"")
ADD_DEFINITIONS("-DLOG_TAG=\"SMARTCARD_SERVICE_SERVER\"")
+ADD_DEFINITIONS("-DLIBPATH=\"${CMAKE_INSTALL_LIB}\"")
SET(CMAKE_EXE_LINKER_FLAGS "-Wl,--as-needed")
}
}
-#define OMAPI_SE_PATH "/usr/lib/se"
+#define OMAPI_SE_PATH LIBPATH"/se"
ServerResource::ServerResource()
: mainLoop(NULL), seLoaded(false)
namespace smartcard_service_api
{
-#define OMAPI_SE_PATH "/usr/lib/se"
+#define OMAPI_SE_PATH LIBPATH"/se"
ServerSEService::ServerSEService():SEServiceHelper()
{