Skip to content
Snippets Groups Projects
Commit 3c0a4a57 authored by Niels Möller's avatar Niels Möller
Browse files

Fix gnutls ci job to not replace the system's nettle libraries.

parent 6f0144f5
No related branches found
No related tags found
No related merge requests found
......@@ -96,12 +96,13 @@ build/gnutls:
image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$FEDORA_BUILD
script:
- ./.bootstrap &&
- ./configure --disable-documentation --prefix=/usr --libdir=/usr/lib64 &&
./configure --disable-documentation --prefix="$(pwd)/local" --libdir="$(pwd)/local/lib" &&
make -j4 && make install
- git clone --depth 1 --branch master https://gitlab.com/gnutls/gnutls.git gnutls-git
- cd gnutls-git && git submodule update --init && ./bootstrap &&
./configure --disable-gost --disable-cxx --disable-guile --disable-doc && make -j$(nproc) &&
make -j $(nproc) check
./configure PKG_CONFIG_PATH="$(pwd)/../local/lib/pkgconfig" CPPFLAGS="-I$(pwd)/../local/include"
LDFLAGS="-L$(pwd)/../local/lib -Wl,-rpath,$(pwd)/../local/lib" --disable-gost --disable-cxx --disable-guile --disable-doc &&
make -j$(nproc) && make -j $(nproc) check
tags:
- shared
- linux
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment