Skip to content

Commit

Permalink
remove linkopts from META
Browse files Browse the repository at this point in the history
  • Loading branch information
hhugo committed Jul 30, 2023
1 parent c2aba29 commit 47e4812
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/dune_rules/gen_meta.ml
Original file line number Diff line number Diff line change
Expand Up @@ -163,12 +163,7 @@ let gen_lib pub_name lib ~path ~version =
| l ->
let root = Pub_name.root pub_name in
let l = List.map l ~f:Path.basename in
[ rule "linkopts" [ Pos "javascript" ] Set
(List.map l
~f:(sprintf "+%s/%s" (String.concat ~sep:"/" (root :: path)))
|> String.concat ~sep:" ")
; rule "jsoo_runtime" [] Set (String.concat l ~sep:" ")
])
[ rule "jsoo_runtime" [] Set (String.concat l ~sep:" ") ])
]

let gen ~(package : Package.t) ~add_directory_entry entries =
Expand Down

0 comments on commit 47e4812

Please sign in to comment.