| 1 |
OASISFormat: 0.4 |
| 2 |
Name: bug1747 |
| 3 |
Version: 0.0 |
| 4 |
Synopsis: Only link libraries we depend on |
| 5 |
Authors: Gerd Stolpmann |
| 6 |
License: GPL |
| 7 |
BuildTools+: omake |
| 8 |
BuildType: OMake (0.4) |
| 9 |
OCamlVersion: >= 4.01 |
| 10 |
|
| 11 |
Library liba |
| 12 |
Modules: Mod1 |
| 13 |
Path: liba |
| 14 |
Build: true |
| 15 |
CompiledObject: byte |
| 16 |
CCLib: -linvalid |
| 17 |
Install: false |
| 18 |
|
| 19 |
Executable t |
| 20 |
Path: . |
| 21 |
MainIs: main.ml |
| 22 |
Build: true |
| 23 |
CompiledObject: byte |
| 24 |
Install: true |
| 25 |
|
| 26 |
# The point is here that "t" doesn't have any dependencies. |
| 27 |
# We also have a library liba which is broken, and cannot |
| 28 |
# be used (because of -linvalid), although the build is |
| 29 |
# expected to succeed. |
| 30 |
# The wrong behavior is that it is tried to link liba into t. |