From f26a2b4750cfc0d443f67eb79d90b023d2a0bf70 Mon Sep 17 00:00:00 2001 From: Dmitriy Gerasimov <naeper@demlabs.net> Date: Thu, 29 Apr 2021 14:10:06 +0700 Subject: [PATCH] [+] Include path for MacOS M1 homebrew installation --- 3rdparty/wolfssl/wolfssl.pri | 41 +++++++++++++++++++++++++ dap-sdk/core/src/darwin/macos/macos.pri | 2 +- 2 files changed, 42 insertions(+), 1 deletion(-) create mode 100644 3rdparty/wolfssl/wolfssl.pri diff --git a/3rdparty/wolfssl/wolfssl.pri b/3rdparty/wolfssl/wolfssl.pri new file mode 100644 index 0000000000..5ce53763fc --- /dev/null +++ b/3rdparty/wolfssl/wolfssl.pri @@ -0,0 +1,41 @@ +SOURCES += $$PWD/arraylist.c\ + $$PWD/debug.c\ + $$PWD/json_c_version.c\ + $$PWD/json_object.c\ + $$PWD/json_object_iterator.c\ + $$PWD/json_pointer.c\ + $$PWD/json_tokener.c\ + $$PWD/json_util.c\ + $$PWD/json_visit.c\ + $$PWD/libjson.c\ + $$PWD/linkhash.c\ + $$PWD/printbuf.c\ + $$PWD/random_seed.c\ + $$PWD/strerror_override.c + +HEADERS += $$PWD/arraylist.h\ + $$PWD/config.h\ + $$PWD/debug.h\ + $$PWD/json_config.h\ + $$PWD/json_c_version.h\ + $$PWD/json.h\ + $$PWD/json_inttypes.h\ + $$PWD/json_object.h\ + $$PWD/json_object_iterator.h\ + $$PWD/json_object_private.h\ + $$PWD/json_pointer.h\ + $$PWD/json_tokener.h\ + $$PWD/json_types.h\ + $$PWD/json_util.h\ + $$PWD/json_visit.h\ + $$PWD/linkhash.h\ + $$PWD/math_compat.h\ + $$PWD/printbuf.h\ + $$PWD/random_seed.h\ + $$PWD/snprintf_compat.h\ + $$PWD/strdup_compat.h\ + $$PWD/strerror_override.h\ + $$PWD/strerror_override_private.h\ + $$PWD/vasprintf_compat.h + +INCLUDEPATH += $$PWD/../ diff --git a/dap-sdk/core/src/darwin/macos/macos.pri b/dap-sdk/core/src/darwin/macos/macos.pri index e3bf4c4525..0619fcb194 100755 --- a/dap-sdk/core/src/darwin/macos/macos.pri +++ b/dap-sdk/core/src/darwin/macos/macos.pri @@ -3,7 +3,7 @@ HEADERS += $$PWD/pthread_barrier.h SOURCES += $$PWD/dap_network_monitor.c -INCLUDEPATH += $$PWD /usr/local/include +INCLUDEPATH += $$PWD /usr/local/include /opt/homebrew/include LIBS += -framework CoreFoundation LIBS += -framework SystemConfiguration -- GitLab