From 9dc9a5e07147c478ba0629f221ab30fa1a944080 Mon Sep 17 00:00:00 2001 From: Et7f3 Date: Fri, 29 Mar 2019 00:00:19 +0100 Subject: [PATCH] Solve issue #596 When trying to link to js_of_ocaml-ppx_deriving_json the error was permission denied so I chmod It if necessary on Cygwin. patch for https://github.com/ocsigen/eliom/issues/596 --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index 82122c88c4..160ab6ae15 100644 --- a/Makefile +++ b/Makefile @@ -4,6 +4,9 @@ BUILD=ocaml pkg/build.ml .PHONY: all byte opt builder all: $(BUILDER) +ifeq ($(shell uname -o), Cygwin) + chmod -R 755 $OPAM_SWITCH_PREFIX/lib/js_of_ocaml-ppx_deriving_json +endif $(BUILD) manpage=false native=true native-dynlink=true byte: $(BUILDER) $(BUILD) manpage=false native=false native-dynlink=false