Skip to content

Commit 4c9bf56

Browse files
committed
Use /usr/bin/cpp instead of /lib/cpp - this program is not available on ArchLinux and Alpine
1 parent 6a3ff71 commit 4c9bf56

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

caml/GNUmakefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ OCAMLRUND=$(shell which ocamlrund)
4141
OCAMLRUNI=$(shell which ocamlruni)
4242
OCAMLYACC=$(shell which ocamlyacc)
4343
ocaml/Makefile.config: ocaml/Makefile esperanto_sys.c
44+
# configure: Use /usr/bin/cpp instead of /lib/cpp
45+
sed -e 's/\/lib\/cpp/\/usr\/bin\/cpp/g' ocaml/configure > ocaml/configure.sed
46+
mv ocaml/configure.sed ocaml/configure
4447
# configure: Do not build dynlink
4548
sed -e 's/otherlibraries="dynlink"/otherlibraries=""/g' ocaml/configure > ocaml/configure.sed
4649
mv ocaml/configure.sed ocaml/configure

0 commit comments

Comments
 (0)