Skip to content

Commit af57181

Browse files
committed
dune: build fsmonitor for solaris
Untested change, copy&paste from the linux file. Signed-off-by: Olaf Hering <[email protected]>
1 parent 20f79a7 commit af57181

File tree

1 file changed

+22
-0
lines changed
  • src/fsmonitor/solaris

1 file changed

+22
-0
lines changed

src/fsmonitor/solaris/dune

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
(copy_files# ../watchercommon.ml{,i})
2+
3+
(library
4+
(name fswatcher_solaris)
5+
(wrapped false)
6+
(enabled_if (= %{system} "solaris"))
7+
(modules :standard \ watcher)
8+
(flags :standard -w -3-27-39)
9+
(foreign_stubs
10+
(language c)
11+
(names fen_stubs))
12+
(libraries unix lwt_lib))
13+
14+
(executable
15+
(name watcher)
16+
(public_name unison-fsmonitor)
17+
(package unison-fsmonitor)
18+
(enabled_if (= %{system} "solaris"))
19+
(modules watcher)
20+
(flags :standard -w -27)
21+
(libraries fswatcher_solaris))
22+

0 commit comments

Comments
 (0)