aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/linux_gcc_32bit
diff options
context:
space:
mode:
authorKai Pastor <dg0yt@darc.de>2022-02-05 12:03:25 +0100
committerKai Pastor <dg0yt@darc.de>2022-02-05 18:06:45 +0100
commit2b0ecb6f19b1be906a39eac5143d4c40252f0a5a (patch)
tree1e1dbab6c61780139e3bf67b566ce3478a86019c /.github/workflows/linux_gcc_32bit
parent295c67869270dc9319f965f1c18108fad516296e (diff)
downloadPROJ-2b0ecb6f19b1be906a39eac5143d4c40252f0a5a.tar.gz
PROJ-2b0ecb6f19b1be906a39eac5143d4c40252f0a5a.zip
Adapt testing to recursive pkg-config requirements
When pkg-config is called with --static, it will recursively collect all Libs and Libs.private which are discovered via Requires and Requires.private. So these libs must be available for linking even when acutally only lib proj uses static linkage. Libs and pkg-config must be provided for the target triplet.
Diffstat (limited to '.github/workflows/linux_gcc_32bit')
-rwxr-xr-x.github/workflows/linux_gcc_32bit/start.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/.github/workflows/linux_gcc_32bit/start.sh b/.github/workflows/linux_gcc_32bit/start.sh
index 87a98a0b..60be6fd3 100755
--- a/.github/workflows/linux_gcc_32bit/start.sh
+++ b/.github/workflows/linux_gcc_32bit/start.sh
@@ -15,8 +15,9 @@ DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends -o AP
autoconf automake libtool make cmake ccache pkg-config python3-pip sqlite3 tar zip \
gcc-multilib g++-multilib g++ jq dpkg-dev \
libsqlite3-dev:$ARCH \
- libtiff-dev:$ARCH \
- libcurl4-openssl-dev:$ARCH
+ libtiff-dev:$ARCH libwebp-dev:$ARCH libzstd-dev:$ARCH \
+ libcurl4-openssl-dev:$ARCH libnghttp2-dev:$ARCH libidn2-dev:$ARCH librtmp-dev:$ARCH libssh-dev:$ARCH \
+ libpsl-dev:$ARCH libssl-dev:$ARCH libkrb5-dev:$ARCH comerr-dev:$ARCH libldap2-dev:$ARCH libbrotli-dev:$ARCH
python3 -m pip install --user jsonschema
export PATH=$HOME/.local/bin:$PATH
@@ -28,6 +29,8 @@ export TIFF_LIBS="-L/usr/lib/i386-linux-gnu -ltiff"
export SQLITE3_CFLAGS=-I/usr/include/i386-linux-gnu
export SQLITE3_LIBS="-L/usr/lib/i386-linux-gnu -lsqlite3"
+export PKG_CONFIG=i686-linux-gnu-pkg-config
+
cd "$WORK_DIR"
if test -f "$WORK_DIR/ccache.tar.gz"; then