also update the ld library path for cmake to workaround /tmp/cmake/bin/cmake: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory

This commit is contained in:
Sylvestre Ledru 2020-08-06 11:32:13 +02:00
parent 2f84fe0a65
commit 1e4997dc86

1
debian/rules vendored
View File

@ -358,6 +358,7 @@ override_dh_auto_configure: preconfigure
CMAKE_BIN=cmake; \ CMAKE_BIN=cmake; \
if test -f /tmp/cmake/bin/cmake; then \ if test -f /tmp/cmake/bin/cmake; then \
CMAKE_BIN=/tmp/cmake/bin/cmake; \ CMAKE_BIN=/tmp/cmake/bin/cmake; \
LD_LIBRARY_PATH=$$LD_LIBRARY_PATH:/tmp/cmake/bin/; \
fi; \ fi; \
echo "Using cmake: $$CMAKE_BIN"; \ echo "Using cmake: $$CMAKE_BIN"; \
cd $(TARGET_BUILD) && \ cd $(TARGET_BUILD) && \