Skip to content

Commit 9dc9a5e

Browse files
authored
Solve issue ocsigen#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 ocsigen#596
1 parent ebfb9e6 commit 9dc9a5e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Makefile

+3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ BUILD=ocaml pkg/build.ml
44

55
.PHONY: all byte opt builder
66
all: $(BUILDER)
7+
ifeq ($(shell uname -o), Cygwin)
8+
chmod -R 755 $OPAM_SWITCH_PREFIX/lib/js_of_ocaml-ppx_deriving_json
9+
endif
710
$(BUILD) manpage=false native=true native-dynlink=true
811
byte: $(BUILDER)
912
$(BUILD) manpage=false native=false native-dynlink=false

0 commit comments

Comments
 (0)