oasis icon indicating copy to clipboard operation
oasis copied to clipboard

Leading dot in library path value prevents compilation

Open gildor478 opened this issue 4 years ago • 1 comments

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)

gildor478 avatar Oct 24 '20 16:10 gildor478

binding.tar.gz

gildor478 avatar Oct 24 '20 18:10 gildor478