Skip to content

Commit

Permalink
Solve issue ocsigen#596
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Et7f3 authored Mar 28, 2019
1 parent ebfb9e6 commit 9dc9a5e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9dc9a5e

Please sign in to comment.