From 2550a890251311738a14c7742c0f3e386c41f363 Mon Sep 17 00:00:00 2001 From: gda <92425917+Gdaadg@users.noreply.github.com> Date: Sun, 18 Aug 2024 19:28:11 +0300 Subject: [PATCH] Update 01-enable-mbedtls-only.patch (#1523) --- .../onvif-simple-server/01-enable-mbedtls-only.patch | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/general/package/onvif-simple-server/01-enable-mbedtls-only.patch b/general/package/onvif-simple-server/01-enable-mbedtls-only.patch index 4f307e08..413e9b42 100644 --- a/general/package/onvif-simple-server/01-enable-mbedtls-only.patch +++ b/general/package/onvif-simple-server/01-enable-mbedtls-only.patch @@ -5,13 +5,13 @@ OBJECTS_N = onvif_notify_server.o conf.o utils.o log.o ezxml_wrapper.o ezxml/ezxml.o OBJECTS_W = wsd_simple_server.o utils.o log.o ezxml_wrapper.o ezxml/ezxml.o -ifdef HAVE_MBEDTLS --INCLUDE = -DHAVE_MBEDTLS -I../mbedtls/include -ffunction-sections -fdata-sections -lrt --LIBS_O = -Wl,--gc-sections ../mbedtls/library/libmbedcrypto.a -lpthread -lrt --LIBS_N = -Wl,--gc-sections ../mbedtls/library/libmbedcrypto.a -lpthread -lrt +-INCLUDE = -DHAVE_MBEDTLS -Iextras/mbedtls/include -ffunction-sections -fdata-sections -lrt +-LIBS_O = -Wl,--gc-sections extras/mbedtls/library/libmbedcrypto.a -lpthread -lrt +-LIBS_N = -Wl,--gc-sections extras/mbedtls/library/libmbedcrypto.a -lpthread -lrt -else --INCLUDE = -I../libtomcrypt/src/headers -ffunction-sections -fdata-sections -lrt --LIBS_O = -Wl,--gc-sections ../libtomcrypt/libtomcrypt.a -lpthread -lrt --LIBS_N = -Wl,--gc-sections ../libtomcrypt/libtomcrypt.a -lpthread -lrt +-INCLUDE = -Iextras/libtomcrypt/src/headers -ffunction-sections -fdata-sections -lrt +-LIBS_O = -Wl,--gc-sections extras/libtomcrypt/libtomcrypt.a -lpthread -lrt +-LIBS_N = -Wl,--gc-sections extras/libtomcrypt/libtomcrypt.a -lpthread -lrt -endif +INCLUDE = -DHAVE_MBEDTLS -ffunction-sections -fdata-sections -lrt +LIBS_O = -Wl,--gc-sections -lmbedtls -lmbedcrypto -lpthread -lrt