Skip to content

Commit

Permalink
Improve portability.
Browse files Browse the repository at this point in the history
  • Loading branch information
dboris committed Sep 9, 2024
1 parent d5d6ea5 commit 624d068
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CoreGraphics/dune
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
(public_name camlkit-base.CoreGraphics)
; (flags :standard -ccopt "-framework CoreGraphics")
; (enabled_if (= %{system} macosx))
(foreign_stubs (language c) (names CoreGraphics_inlines))
; (foreign_stubs (language c) (names CoreGraphics_inlines))
(libraries camlkit-base.runtime CoreFoundation))

(documentation (package camlkit-base))
4 changes: 2 additions & 2 deletions runtime/dune
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
(= %{context_name} simulator-arm.ios)))
(action
(with-stdout-to arch.ml
(bash "arch=%{read:arch.txt}
(system "arch=%{read:arch.txt}
echo \"type t = Amd64 | Arm64
let current = $(echo $arch | awk '{print toupper(substr($0, 1, 1)) substr($0, 2)}')\""))))

Expand All @@ -110,7 +110,7 @@
(<> %{context_name} simulator-arm.ios)))
(action
(with-stdout-to arch.ml
(bash
(system
"cat <<END
type t = Amd64 | Arm64
let current = $(echo %{architecture} | awk '{print toupper(substr($0, 1, 1)) substr($0, 2)}')\n\
Expand Down

0 comments on commit 624d068

Please sign in to comment.