From f26ee267d68ef5b878b744a0410eeee424d4465f Mon Sep 17 00:00:00 2001 From: Romain Beauxis Date: Sat, 30 Nov 2024 01:03:39 -0600 Subject: [PATCH] Add link patch --- .../curl-windows.0.9.2/files/patches/link.patch | 13 +++++++++++++ packages/curl-windows/curl-windows.0.9.2/opam | 2 ++ 2 files changed, 15 insertions(+) create mode 100644 packages/curl-windows/curl-windows.0.9.2/files/patches/link.patch diff --git a/packages/curl-windows/curl-windows.0.9.2/files/patches/link.patch b/packages/curl-windows/curl-windows.0.9.2/files/patches/link.patch new file mode 100644 index 00000000..161653f3 --- /dev/null +++ b/packages/curl-windows/curl-windows.0.9.2/files/patches/link.patch @@ -0,0 +1,13 @@ +diff --git a/dune b/dune +index 8e5ce15..de03e2f 100644 +--- a/dune ++++ b/dune +@@ -7,7 +7,7 @@ + (language c) + (flags -DHAVE_CONFIG_H :standard (:include cflags.sexp)) + (names curl-helper)) +- (c_library_flags (:include clibs.sexp)) ++ (c_library_flags -lcurl (:include clibs.sexp)) + (libraries unix) + (modules curl)) + diff --git a/packages/curl-windows/curl-windows.0.9.2/opam b/packages/curl-windows/curl-windows.0.9.2/opam index 30127e4c..8c58a3ce 100644 --- a/packages/curl-windows/curl-windows.0.9.2/opam +++ b/packages/curl-windows/curl-windows.0.9.2/opam @@ -27,9 +27,11 @@ build: [ ] patches: [ "patches/undef.patch" + "patches/link.patch" ] extra-files: [ ["patches/undef.patch" "md5=6a9b6d85af9f73c6c22ae918baa36ed9"] + ["patches/link.patch" "md5=08ab5ee99d00ac5c7986f60037448cb4"] ] depends: [ "ocaml-windows" {>= "4.02.0"}