From 4bd1d9bfee6d6bbe6e0138cd3769fdb20a5cce5e Mon Sep 17 00:00:00 2001 From: Maxim Biro Date: Wed, 5 Jan 2022 15:55:30 -0500 Subject: [PATCH] Update libbrotli pc file sed libbrotli has updated its .pc files since the last sed was written, so it didn't work anymore, resulting in Toxic build failing. However, the way they have updated it, it's still broken, so a different sed is needed. --- script/build-minimal-static-toxic.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/script/build-minimal-static-toxic.sh b/script/build-minimal-static-toxic.sh index 3709b1d..63e1213 100755 --- a/script/build-minimal-static-toxic.sh +++ b/script/build-minimal-static-toxic.sh @@ -191,7 +191,8 @@ cd curl* --with-openssl make make install -sed -i 's|-lbrotlidec |-lbrotlidec-static -lbrotlicommon-static |g' $BUILD_DIR/prefix-curl/lib/pkgconfig/libcurl.pc +sed -i 's|-lbrotlidec |-lbrotlidec -lbrotlicommon |g' $BUILD_DIR/prefix-curl/lib/pkgconfig/libcurl.pc + # Build Toxic cd "$BUILD_DIR"