diff --git a/projects/libsoup.org/package.yml b/projects/libsoup.org/package.yml index 96f64cd950..a3fd397842 100644 --- a/projects/libsoup.org/package.yml +++ b/projects/libsoup.org/package.yml @@ -76,6 +76,8 @@ test: - run: - ldd test - SQLITE="$(ldd test | sed -n '/libsqlite3.so => not found/s/=>.*//p')" - - patchelf --replace-needed $SQLITE libsqlite3.so test + - if ! test -z "$SQLITE"; then patchelf --replace-needed $SQLITE libsqlite3.so test; fi + - ldd test + - find {{pkgx.prefix}} -name "*.so" -print -exec ldd {} \| grep "libsqlite3.so => not found" \; if: linux - ./test