Skip to content

Commit 1015766

Browse files
committed
Use which (command -v does not properly work for us)
1 parent 6ce95e0 commit 1015766

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

caml/GNUmakefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ ocaml/Makefile:
3636
# arrays to right **dynamic** values
3737
OC_CFLAGS=$(LOCAL_CFLAGS)
3838
OC_LIBS=-nostdlib $(MAKECONF_EXTRA_LIBS)
39-
OCAMLRUN=$(shell command -v ocamlrun)
40-
OCAMLRUND=$(shell command -v ocamlrund)
41-
OCAMLRUNI=$(shell command -v ocamlruni)
42-
OCAMLYACC=$(shell command -v ocamlyacc)
39+
OCAMLRUN=$(shell which ocamlrun)
40+
OCAMLRUND=$(shell which ocamlrund)
41+
OCAMLRUNI=$(shell which ocamlruni)
42+
OCAMLYACC=$(shell which ocamlyacc)
4343
ocaml/Makefile.config: ocaml/Makefile esperanto_sys.c
4444
# configure: Do not build dynlink
4545
sed -e 's/otherlibraries="dynlink"/otherlibraries=""/g' ocaml/configure > ocaml/configure.sed

opam/esperanto.opam

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ build: [
1212
]
1313
install: ["sh" "-c" "cd caml ; %{make}% install" ]
1414
depends: [
15+
"conf-which" {build}
1516
"ocaml-src" {build}
1617
"esperanto-cosmopolitan" {build}
1718
# "cosmopolitan-pth" {build}

0 commit comments

Comments
 (0)