Skip to content

Commit

Permalink
Add pthread patch.
Browse files Browse the repository at this point in the history
  • Loading branch information
toots committed Nov 30, 2024
1 parent 88380ef commit 61eed8e
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
diff --git a/cmdline.ml b/cmdline.ml
index 37a3a41..028cb02 100644
--- a/cmdline.ml
+++ b/cmdline.ml
@@ -90,6 +90,9 @@ let specs = [
"-base", Arg.String (fun s -> base_addr := s),
" Specify base address (Win64 only)";

+ "-pthread", Arg.Unit (fun () -> ()),
+ "Ignored";
+
"-I", Arg.String (fun dir -> dirs := dir :: !dirs),
"<dir> Add a directory where to search for files";

2 changes: 2 additions & 0 deletions packages/flexdll-windows/flexdll-windows.0.42/opam
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ substs: [
]
patches: [
"patches/no-gcc_eh.patch"
"patches/pthread.patch"
]
build: [
["touch" "Compat.ml"]
Expand Down Expand Up @@ -67,6 +68,7 @@ extra-files: [
["version.ml.in" "md5=f1bb53b9442eeda71d4963c02bf9fa84"]
["flexdll-windows.install" "md5=d2a0e6caf837c1f9e1c687089eee7869"]
["patches/no-gcc_eh.patch" "md5=65bdd2a32d0777a9d8b315df91632166"]
["patches/pthread.patch" "md5=b7bf5fff6fa4e477fe12c0819c548f2b"]
]
url {
src: "https://github.com/alainfrisch/flexdll/archive/0.42.tar.gz"
Expand Down

0 comments on commit 61eed8e

Please sign in to comment.