diff --git a/.github/workflows/vcpkg-linux-drivers.yml b/.github/workflows/vcpkg-linux-drivers.yml index f5c65b388..0725808a4 100644 --- a/.github/workflows/vcpkg-linux-drivers.yml +++ b/.github/workflows/vcpkg-linux-drivers.yml @@ -490,7 +490,10 @@ jobs: working-directory: >- ../HelloWorld-TinyDrivers-FetchContent-Install/${{ matrix.build-type.name }}/bin run: | - export LD_LIBRARY_PATH='../lib'${LD_LIBRARY_PATH:+:}"$LD_LIBRARY_PATH" + # This is enough for use to distinguish between Ubuntu, Fedora, or Gentoo + [ -r /etc/debian_version ] && libFolder='lib' || libFolder='lib64' + + export LD_LIBRARY_PATH="../$libFolder"${LD_LIBRARY_PATH:+:}"$LD_LIBRARY_PATH" ./HelloWorld-TinyDrivers env: diff --git a/.github/workflows/vcpkg-linux.yml b/.github/workflows/vcpkg-linux.yml index 0f812b783..a59743a49 100644 --- a/.github/workflows/vcpkg-linux.yml +++ b/.github/workflows/vcpkg-linux.yml @@ -592,7 +592,10 @@ jobs: - name: HelloWorld execute (SQLite) 🏁 working-directory: ../HelloWorld-FetchContent-Install/${{ matrix.build-type.name }}/bin run: | - export LD_LIBRARY_PATH='../lib'${LD_LIBRARY_PATH:+:}"$LD_LIBRARY_PATH" + # This is enough for use to distinguish between Ubuntu, Fedora, or Gentoo + [ -r /etc/debian_version ] && libFolder='lib' || libFolder='lib64' + + export LD_LIBRARY_PATH="../$libFolder"${LD_LIBRARY_PATH:+:}"$LD_LIBRARY_PATH" ./HelloWorld env: