--- a/Makefile 2023-06-20 14:53:35.000000000 +0300 +++ b/Makefile 2023-07-02 17:55:34.483218477 +0300 @@ -1,7 +1,7 @@ OBJECTS_O = onvif_simple_server.o device_service.o media_service.o ptz_service.o utils.o log.o OBJECTS_W = wsd_simple_server.o utils.o log.o -INCLUDE = -I../libtomcrypt/src/headers -ffunction-sections -fdata-sections -LIBS_O = -Wl,--gc-sections ../libtomcrypt/libtomcrypt.a -lpthread +INCLUDE = -ffunction-sections -fdata-sections +LIBS_O = -Wl,--gc-sections -lpthread -ltomcrypt LIBS_W = -Wl,--gc-sections all: onvif_simple_server wsd_simple_server