diff --git a/CMakeLists.txt b/CMakeLists.txt index c79099a..f051d25 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -73,10 +73,10 @@ install(FILES conf/MESA_handle_logger.conf DESTINATION /usr/lib/tmpfiles.d/ COMP add_executable(${lib_name}_demo demo/test_handle_logger.c) -target_link_libraries(${lib_name}_demo pthread ${lib_name}_static) +target_link_libraries(${lib_name}_demo pthread ${lib_name}_shared) add_executable(${lib_name}_consumer shm_consumer/MESA_shm_consumer.c) -target_link_libraries(${lib_name}_consumer ${lib_name}_static) +target_link_libraries(${lib_name}_consumer ${lib_name}_shared) include(Package) diff --git a/shm_consumer/Makefile b/shm_consumer/Makefile index 1940ba2..05b030f 100644 --- a/shm_consumer/Makefile +++ b/shm_consumer/Makefile @@ -6,9 +6,8 @@ CC=gcc CFLAGS= -g3 -Wall -fPIC -O -Werror CFLAGS+=-I../inc/ -#LIB=-L../lib/ -LIB=../lib/libMESA_handle_logger.a ../lib/libMESA_snprintf.a -LIB+=-lpthread + +LIB=../lib/libMESA_handle_logger.a LIB_FILE=$(wildcard ../lib/*.a) diff --git a/src/version.map b/src/version.map index 4b6c2e8..80ddb27 100644 --- a/src/version.map +++ b/src/version.map @@ -1,4 +1,4 @@ { - global: MESA*runtime_log*;GIT_VERSION_*; + global: MESA*runtime_log*;GIT_VERSION_*;MESA_shm_alloc_overview;MESA_shm_write_ring_queue_to_file;MESA_handle_fmt_rule_register; local: *; };