chore build: add more re_export

This commit is contained in:
Simon Cruanes 2024-07-16 10:01:47 -04:00
parent 3e17532495
commit 5130653068
No known key found for this signature in database
GPG key ID: EBFFF6F283F3A2B4
4 changed files with 9 additions and 5 deletions

View file

@ -3,4 +3,6 @@
(public_name tiny_httpd_camlzip) (public_name tiny_httpd_camlzip)
(synopsis "A wrapper around camlzip to bring compression to Tiny_httpd") (synopsis "A wrapper around camlzip to bring compression to Tiny_httpd")
(flags :standard -open Tiny_httpd_core -safe-string -warn-error -a+8) (flags :standard -open Tiny_httpd_core -safe-string -warn-error -a+8)
(libraries tiny_httpd.core iostream-camlzip camlzip)) (libraries (re_export tiny_httpd.core)
(re_export iostream-camlzip)
camlzip))

View file

@ -2,5 +2,7 @@
(name tiny_httpd) (name tiny_httpd)
(public_name tiny_httpd) (public_name tiny_httpd)
(flags :standard -open Tiny_httpd_core) (flags :standard -open Tiny_httpd_core)
(libraries threads seq unix hmap tiny_httpd.core tiny_httpd.html (libraries threads seq unix hmap
tiny_httpd.unix)) (re_export tiny_httpd.core)
(re_export tiny_httpd.html)
(re_export tiny_httpd.unix)))

View file

@ -7,7 +7,7 @@
(private_modules common_p_ time_) (private_modules common_p_ time_)
(flags :standard -open Tiny_httpd_core) (flags :standard -open Tiny_httpd_core)
(libraries (libraries
tiny_httpd.core unix (re_export tiny_httpd.core) unix
(select time_.ml from (select time_.ml from
(mtime mtime.clock.os -> time_.mtime.ml) (mtime mtime.clock.os -> time_.mtime.ml)
(-> time_.default.ml)))) (-> time_.default.ml))))

View file

@ -9,4 +9,4 @@
(language c) (language c)
(names tiny_httpd_ws_stubs) (names tiny_httpd_ws_stubs)
(flags :standard -std=c99 -fPIC -O2)) (flags :standard -std=c99 -fPIC -O2))
(libraries tiny_httpd.core threads)) (libraries (re_export tiny_httpd.core) threads))