From c2cafe78cb6afae073e5d4a88fa8955ad92a54f5 Mon Sep 17 00:00:00 2001 From: Ladislav Foldyna Date: Tue, 30 Jan 2024 18:24:07 +0100 Subject: [PATCH] add -L --- .github/workflows/c-cpp.yml | 1 + QLog.pro | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index 2c414a8a..353e6d1f 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -73,6 +73,7 @@ jobs: brew install brotli brew install icu4c brew install pkg-config + ls -al /usr/local/lib/ - name: Checkout code uses: actions/checkout@v3 with: diff --git a/QLog.pro b/QLog.pro index 8ff3d47a..80cbf250 100644 --- a/QLog.pro +++ b/QLog.pro @@ -412,7 +412,7 @@ unix:!macx { INSTALLS += target desktop icon metainfo INCLUDEPATH += /usr/local/include - LIBS += -L/usr/local/lib -lhamlib + LIBS += -lhamlib equals(QT_MAJOR_VERSION, 6): LIBS += -lqt6keychain equals(QT_MAJOR_VERSION, 5): LIBS += -lqt5keychain } @@ -425,7 +425,7 @@ macx: { } INCLUDEPATH += /usr/local/include - LIBS += -lhamlib + LIBS += -L/usr/local/lib -lhamlib equals(QT_MAJOR_VERSION, 6): LIBS += -lqt6keychain equals(QT_MAJOR_VERSION, 5): LIBS += -lqt5keychain DISTFILES +=