32 lines | 1593 chars
1 | ;************************************************************************** |
2 | ;* * |
3 | ;* OCaml * |
4 | ;* * |
5 | ;* Thomas Refis, Jane Street Europe * |
6 | ;* * |
7 | ;* Copyright 2018 Jane Street Group LLC * |
8 | ;* * |
9 | ;* All rights reserved. This file is distributed under the terms of * |
10 | ;* the GNU Lesser General Public License version 2.1, with the * |
11 | ;* special exception on linking described in the file LICENSE. * |
12 | ;* * |
13 | ;************************************************************************** |
14 | |
15 | ; mshinwell: Disabled: this needs to build in the same way as the |
16 | ; Makefile does, with the [Dynlink_compilerlibs] pack. |
17 | ; |
18 | ; (library |
19 | ; (name dynlink) |
20 | ; (wrapped false) |
21 | ; (modules dynlink dynlink_compilerlibs dynlink_common dynlink_types |
22 | ; dynlink_platform_intf) |
23 | ; ; the -33 is specific to the hackery done with dune. |
24 | ; (flags (:standard -nostdlib -w -33)) |
25 | ; (modules_without_implementation dynlink) |
26 | ; (libraries ocamlcommon stdlib)) |
27 | ; |
28 | ; (rule |
29 | ; (targets dynlink_compilerlibs.ml) |
30 | ; (action (write-file %{targets} |
31 | ; "(* empty because we are linking with ocamlcommon *)"))) |
32 |