Skip to content
Snippets Groups Projects
Commit 8a394f45 authored by Dmitry Simonenko's avatar Dmitry Simonenko
Browse files

debian-adapt-libtnt: soname support added, tnt libs renamed with tarantool prefix

parent 6c31ecc5
No related branches found
No related tags found
No related merge requests found
Showing
with 27 additions and 20 deletions
...@@ -39,9 +39,9 @@ ...@@ -39,9 +39,9 @@
#include <errcode.h> #include <errcode.h>
#include <third_party/gopt/gopt.h> #include <third_party/gopt/gopt.h>
#include <connector/c/include/libtnt/tnt.h> #include <connector/c/include/tarantool/tnt.h>
#include <connector/c/include/libtnt/tnt_sql.h> #include <connector/c/include/tarantool/tnt_sql.h>
#include <connector/c/include/libtnt/tnt_net.h> #include <connector/c/include/tarantool/tnt_net.h>
#include <client/tarantool/tnt_admin.h> #include <client/tarantool/tnt_admin.h>
......
#
# library soname version
#
set(LIBTNT_VERSION "${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}")
set(LIBTNT_SOVERSION "${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}")
add_subdirectory(tnt) add_subdirectory(tnt)
add_subdirectory(tntsql) add_subdirectory(tntsql)
add_subdirectory(tntnet) add_subdirectory(tntnet)
......
...@@ -3,4 +3,4 @@ ...@@ -3,4 +3,4 @@
# installation of tarantool C client library headers # installation of tarantool C client library headers
# #
install(DIRECTORY libtnt DESTINATION include) install(DIRECTORY tarantool DESTINATION include)
...@@ -33,20 +33,20 @@ extern "C" { ...@@ -33,20 +33,20 @@ extern "C" {
#include <stdint.h> #include <stdint.h>
#include <stdarg.h> #include <stdarg.h>
#include <libtnt/tnt_mem.h> #include <tarantool/tnt_mem.h>
#include <libtnt/tnt_proto.h> #include <tarantool/tnt_proto.h>
#include <libtnt/tnt_enc.h> #include <tarantool/tnt_enc.h>
#include <libtnt/tnt_tuple.h> #include <tarantool/tnt_tuple.h>
#include <libtnt/tnt_reply.h> #include <tarantool/tnt_reply.h>
#include <libtnt/tnt_stream.h> #include <tarantool/tnt_stream.h>
#include <libtnt/tnt_iter.h> #include <tarantool/tnt_iter.h>
#include <libtnt/tnt_buf.h> #include <tarantool/tnt_buf.h>
#include <libtnt/tnt_ping.h> #include <tarantool/tnt_ping.h>
#include <libtnt/tnt_insert.h> #include <tarantool/tnt_insert.h>
#include <libtnt/tnt_update.h> #include <tarantool/tnt_update.h>
#include <libtnt/tnt_delete.h> #include <tarantool/tnt_delete.h>
#include <libtnt/tnt_call.h> #include <tarantool/tnt_call.h>
#include <libtnt/tnt_select.h> #include <tarantool/tnt_select.h>
#ifdef __cplusplus #ifdef __cplusplus
} /* extern "C" */ } /* extern "C" */
......
...@@ -32,8 +32,8 @@ ...@@ -32,8 +32,8 @@
#include <sys/types.h> #include <sys/types.h>
#include <sys/time.h> #include <sys/time.h>
#include <libtnt/tnt_opt.h> #include <tarantool/tnt_opt.h>
#include <libtnt/tnt_iob.h> #include <tarantool/tnt_iob.h>
enum tnt_error { enum tnt_error {
TNT_EOK, TNT_EOK,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment