[OpenJDK 2D-Dev] RFR: Allow using a system-installed lcms2
fw at deneb.enyo.de
Mon Mar 3 21:42:37 UTC 2014
* Omair Majid:
> Basically, there is one file there (LCMS.c) that I want to make sure
> that does not get compiled against the headers located in the same
> directory. One way to be absolutely certain is to move the files out of
> that directory into another. `#include <..>` rather than `#include
> "..."` might also be sufficient but seems less of a guarantee
> (especially because then I have to filter things so the compiler
> invocation only includes LCMS.c and not the bundled lcms code). It seems
> the patch would be more complex (from a Makefile point) to test.
As some sort of gross hack, you could copy the file during the build
process to a clean directory.
More information about the build-dev