Skip to content

Commit

Permalink
Add link patch
Browse files Browse the repository at this point in the history
  • Loading branch information
toots committed Nov 30, 2024
1 parent 6a4b5ef commit f26ee26
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
13 changes: 13 additions & 0 deletions packages/curl-windows/curl-windows.0.9.2/files/patches/link.patch
Original file line number Diff line number Diff line change
@@ -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))

2 changes: 2 additions & 0 deletions packages/curl-windows/curl-windows.0.9.2/opam
Original file line number Diff line number Diff line change
Expand Up @@ -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"}
Expand Down

0 comments on commit f26ee26

Please sign in to comment.