Skip to content

ocamlbuild should pass -linkpkg together with -output-obj #6625

@vicuna

Description

@vicuna

Original bug ID: 6625
Reporter: @whitequark
Assigned to: @whitequark
Status: closed (set by @xavierleroy on 2016-12-07T10:47:17Z)
Resolution: fixed
Priority: normal
Severity: minor
Fixed in version: 4.02.2+dev / +rc1
Category: -for ocamlbuild use https://github.com/ocaml/ocamlbuild/issues
Tags: patch
Related to: #6797
Monitored by: @gasche

Bug description

E.g. using this rule:

  flag ["ocaml"; "link"; "output_obj"] &
    A"-linkpkg";

Otherwise, if you use any -package's, ocamlc/ocamlopt will complain of not being able to find implementations.

File attachments

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions