From: Frank Lichtenheld <[email protected]>

Otherwise CMake could use the wrong pkg-config file.
It was still using the correct libraries due to
architecture config. However, in Ubuntu 26.04 lz4 has
an additional xxhash dependency and this dependency
was wrongly used.

Change-Id: Icaa76a20ef41e26044fa684d5297f40d8d5ddc8d
Signed-off-by: Frank Lichtenheld <[email protected]>
Acked-by: Razvan Cojocaru <[email protected]>
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1921
---

This change was reviewed on Gerrit and approved by at least one
developer. I request to merge it to master.

Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1921
This mail reflects revision 1 of this Change.

Acked-by according to Gerrit (reflected above):
Razvan Cojocaru <[email protected]>

        
diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
index 56dd3ed..d67c215 100644
--- a/.github/workflows/build.yaml
+++ b/.github/workflows/build.yaml
@@ -62,6 +62,8 @@
       - name: Install dependencies
         run: ${VCPKG_ROOT}/vcpkg install openssl lz4 cmocka
       - name: configure OpenVPN with cmake
+        env:
+          PKG_CONFIG_PATH: "${{ env.VCPKG_INSTALLED_DIR }}/${{ 
matrix.vcpkg_triplet }}/lib/pkgconfig"
         run: |
           cmake -S . -B openvpn-build -DUNSUPPORTED_BUILDS=yes \
             -DCMAKE_SYSTEM_NAME=Android -DCMAKE_SYSTEM_VERSION=28 \


_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to