aboutsummaryrefslogtreecommitdiffstats
path: root/Plugins/DbSqliteWx/DbSqliteWx.pro
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@unit193.net>2025-01-16 01:58:22 -0500
committerLibravatarUnit 193 <unit193@unit193.net>2025-01-16 01:58:22 -0500
commita5ae79be08125b31bb6b8d9703090a98c6fd2e30 (patch)
tree569ee612c9de85b2bb423efa485688ef1d43852e /Plugins/DbSqliteWx/DbSqliteWx.pro
parent21966b4f924b0a1933d9662e75ff253bd154fdb7 (diff)
parent81a21e6ce040e7740de86340c8ea4dba30e69bc3 (diff)
Update upstream source from tag 'upstream/3.4.13+dfsg'
Update to upstream version '3.4.13+dfsg' with Debian dir bf81ee0219cb8e4562a4751df17d75814772d2d6
Diffstat (limited to 'Plugins/DbSqliteWx/DbSqliteWx.pro')
-rw-r--r--Plugins/DbSqliteWx/DbSqliteWx.pro14
1 files changed, 11 insertions, 3 deletions
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}/