Skip to content

Commit bba8516

Browse files
committed
Always honor BUILD_STATIC_EXECS
This fixes binaries included in VSIXs for Darwin platforms.
1 parent 857dc31 commit bba8516

File tree

4 files changed

+8
-1
lines changed

4 files changed

+8
-1
lines changed

.drom

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
## [_] Next release
44

55
### Fixed
6+
- Binaries included in VSIXs for Darwin [#383](https://github.com/OCamlPro/superbol-studio-oss/pull/383)
67
- Name of debugger, to avoid conflicts with the official "gdb" [#381](https://github.com/OCamlPro/superbol-studio-oss/pull/381)
78

89

Makefile

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Makefile.drom-tpl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ DUNE = opam exec -- dune
88
DUNE_ARGS ?= --root=$$(pwd)
99
DUNE_CROSS_ARGS = $(strip $(if $(filter win32,${TARGET_PLAT}),-x windows) \
1010
$(if $(filter darwin,${TARGET_PLAT}),-x osx))
11+
ifeq ($(BUILD_STATIC_EXECS),true)
12+
export LINKING_MODE=static
13+
endif
1114

1215
VERSION = !{version}
1316
DEV_DEPS := merlin ocamlformat odoc![if:gen:test] ppx_expect ppx_inline_test![fi]

0 commit comments

Comments
 (0)