Skip to content

Commit af9676f

Browse files
committed
Update server package dependencies
This list of dependency is used to generate static.ml, which needs the list to be uptodate to be able to load extensions correctly when run with `ocsigenserver -c conf_file`.
1 parent d404d70 commit af9676f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Makefile.options

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@ INCS= -I ${BLD}/server/.ocsigenserver.objs/byte \
2323
## ${SERVER_PACKAGE} is not only used to build the 'ocsigenserver' executable
2424
## but also to generate src/baselib/ocsigen_config_static.ml
2525

26-
SERVER_PACKAGE := lwt_ssl,bytes,lwt.unix,logs,logs-syslog,syslog-message,ipaddr,findlib,cryptokit,re,str,xml-light,dynlink,cohttp-lwt-unix,http
26+
SERVER_PACKAGE := bytes,logs,logs-syslog.unix,syslog-message,ipaddr,findlib,cryptokit,re,str,xml-light,dynlink,cohttp-eio,http,eio,eio_main,ipaddr.unix,magic-mime
2727

2828
LIBS := -package ${SERVER_PACKAGE} ${INCS}

src/files/ocsigenserver.conf/gen.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ let deps () =
8484
; "ocsigenserver" ]
8585
in
8686
let packages =
87-
"lwt_ssl,bytes,lwt.unix,logs,logs-syslog.unix,syslog-message,ipaddr,findlib,cryptokit,re,str,xml-light,dynlink,cohttp-eio,http"
87+
"bytes,logs,logs-syslog.unix,syslog-message,ipaddr,findlib,cryptokit,re,str,xml-light,dynlink,cohttp-eio,http,eio,eio_main,ipaddr.unix,magic-mime"
8888
in
8989
let deps = ref [] in
9090
let cmd = "ocamlfind query -p-format -recursive " ^ packages in

0 commit comments

Comments
 (0)