python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / tools / package-management / akku / hardcode-libcurl.patch
blob7c5b8b50c320a52dd8f1866e33d5acb8c8623328
1 --- old/private/http.scm
2 +++ new/private/http.scm
3 @@ -101,14 +101,7 @@
4 ;; shouldn't, but it's an old issue.
5 (log/error "Could not load libcurl. Please install the curl development(!) package.")
6 (exit 1)))
7 - (case (os-name)
8 - ((darwin) (set! libcurl (open-shared-object "libcurl.dylib")))
9 - ((msys) (set! libcurl (open-shared-object "msys-curl-4")))
10 - (else
11 - (guard (exn
12 - (else
13 - (set! libcurl (open-shared-object "libcurl.so.3"))))
14 - (set! libcurl (open-shared-object "libcurl.so.4"))))))
15 + (set! libcurl (open-shared-object "@libcurl@")))
16 (letrec ()
17 (define %curl_global_init (foreign-procedure libcurl int curl_global_init (long)))
18 (call %curl_global_init #b11)))