From dadde1ff07033f75a19cb274f3220eee1324ac30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Barnab=C3=A1s=20Domozi?= Date: Wed, 18 Feb 2026 16:39:49 +0100 Subject: [PATCH] Fix Tarball build for Python plugin --- .gitlab/build-codecompass.sh | 1 + .gitlab/build-deps.sh | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitlab/build-codecompass.sh b/.gitlab/build-codecompass.sh index 87ca961ad..3f53a8cc9 100644 --- a/.gitlab/build-codecompass.sh +++ b/.gitlab/build-codecompass.sh @@ -44,6 +44,7 @@ export LDFLAGS="-Wl,-rpath-link,$DEPS_INSTALL_RUNTIME_DIR/openssl-install/lib "\ # otherwise version in postgresql-install/lib is used export LD_LIBRARY_PATH=$DEPS_INSTALL_RUNTIME_DIR/odb-install/lib\ +:$DEPS_INSTALL_RUNTIME_DIR/python-install/lib\ :$LD_LIBRARY_PATH export CMAKE_PREFIX_PATH=$DEPS_INSTALL_RUNTIME_DIR/libgit2-install\ diff --git a/.gitlab/build-deps.sh b/.gitlab/build-deps.sh index d6e91b9fd..0ada9fb32 100644 --- a/.gitlab/build-deps.sh +++ b/.gitlab/build-deps.sh @@ -238,11 +238,13 @@ export LD_LIBRARY_PATH=$DEPS_INSTALL_RUNTIME_DIR/openssl-install/lib:$LD_LIBRARY --quiet \ --prefix=$DEPS_INSTALL_RUNTIME_DIR/python-install \ --with-openssl=$DEPS_INSTALL_RUNTIME_DIR/openssl-install \ - --enable-optimizations + --enable-optimizations \ + --enable-shared make install --quiet --jobs $(nproc) rm -f $PACKAGES_DIR/Python-3.9.0.tar.xz export PATH=$DEPS_INSTALL_RUNTIME_DIR/python-install/bin:$PATH +export LD_LIBRARY_PATH="$DEPS_INSTALL_RUNTIME_DIR/python-install/lib:$LD_LIBRARY_PATH" ############## # LLVM/Clang # @@ -311,7 +313,7 @@ if [ ! -f $DEPS_INSTALL_RUNTIME_DIR/boost-install/lib/libboost_program_options.s ./bootstrap.sh \ --prefix=$DEPS_INSTALL_RUNTIME_DIR/boost-install \ - --with-python=$DEPS_INSTALL_RUNTIME_DIR/python-install/bin/python + --with-python=$DEPS_INSTALL_RUNTIME_DIR/python-install/bin/python3 ./b2 -j $(nproc) install rm -f $PACKAGES_DIR/boost_1_74_0.tar.gz