OCaml Forge

Detail: [#1089] Leading dot in library path value prevents compilation

Bugs: Browse | Download .csv | Monitor

[#1089] Leading dot in library path value prevents compilation

Date:
2012-01-27 15:34
Priority:
3
State:
Open
Submitted by:
Philippe Veber (pveber)
Assigned to:
Sylvain Le Gall (gildor-admin)
Product:
OASIS
Due in version:
0.2.1
Resolution:
None
Severity:
normal
Version:
0.2.0
Component:
OASIS
Operating System:
None
 
URL:
Summary:
Leading dot in library path value prevents compilation

Detailed description
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)

Followup

No Followups Have Been Posted

Attached Files:

Attachments:
binding.tar.gz

Changes:

Field Old Value Date By
assigned_tonone2012-03-12 22:14gildor-admin
Due in versionNone2012-01-27 15:53gildor-admin
File Added159: binding.tar.gz2012-01-27 15:34pveber