oasis
oasis copied to clipboard
Leading dot in library path value prevents compilation
This bug has been migrated from artifact #1089 on forge.ocamlcore.org. It was assigned to user102.
user294 posted on 2012-01-27 15:34:36:
In the attached archive is a skeleton project for a C binding, which fails to compile if it is described in the _oasis file by:
Library binding Path: ./src BuildTools: ocamlbuild Modules: Binding CSources: binding_stub.c
Ocamlbuild fails to compile the project, but removing the leading "./" in the Path field fixes the problem.
Steps to reproduce:
- un tar.gz the archive
- build by typing make (there should be an ocamlbuild error)
- remove the "./" in the Path field of the "binding" library section
- build (there should be no error anymore)