aboutsummaryrefslogtreecommitdiff
path: root/www-client/icecat/files/0016-bgo-929967-fix-pgo-on-musl.patch
blob: afe5d2ab4cee4842a02b36ba330956d93424f9e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/build/pgo/profileserver.py b/build/pgo/profileserver.py
index 7354714..0385792 100755
--- a/build/pgo/profileserver.py
+++ b/build/pgo/profileserver.py
@@ -171,6 +171,9 @@ if __name__ == "__main__":
                 env["UPLOAD_PATH"], "profile-run-1.log"
             )
 
+        # Workaround for https://bugs.gentoo.org/929967
+        env["LD_LIBRARY_PATH"] = os.path.join(os.getcwd(), "dist", "bin")
+
         # Run IceCat a first time to initialize its profile
         runner = IceCatRunner(
             profile=profile,