From 81a21e6ce040e7740de86340c8ea4dba30e69bc3 Mon Sep 17 00:00:00 2001 From: Unit 193 Date: Thu, 16 Jan 2025 01:57:37 -0500 Subject: New upstream version 3.4.13+dfsg. --- Plugins/DbSqliteWx/DbSqliteWx.pro | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'Plugins/DbSqliteWx/DbSqliteWx.pro') diff --git a/Plugins/DbSqliteWx/DbSqliteWx.pro b/Plugins/DbSqliteWx/DbSqliteWx.pro index f2f4e88..9b65599 100644 --- a/Plugins/DbSqliteWx/DbSqliteWx.pro +++ b/Plugins/DbSqliteWx/DbSqliteWx.pro @@ -27,9 +27,17 @@ isEmpty(WXSQLITE_LIB): { HEADERS += wxsqlite3.h } -max: { - INCLUDEPATH += /usr/local/opt/openssl/include - LIBS += -L/usr/local/opt/openssl/lib +macx: { + exists( /opt/local/include/openssl-3/openssl/crypto.h ) { + message( "Configuring OpenSSL from MacPorts" ) + INCLUDEPATH += /opt/local/include/openssl-3 + LIBS += -L/opt/local/lib/openssl-3 + } else { + message( "Configuring OpenSSL from HomeBrew" ) + INCLUDEPATH += /usr/local/opt/openssl/include + LIBS += -L/usr/local/opt/openssl/lib + } + LIBS += -framework Security } !macx: { LIBS += -L$${PWD}/../deps/lib/$${PLATFORM}/ -- cgit v1.2.3