rrva
11/27/2023, 10:22 PM-I/usr/include
on a linux build or does this create conflicting headers with the toolchain konan brings?
right now, I had to create a file src/nativeInterop/cinterop/libvips.def
with the following contents for a linux build:
headers = glib-object.h vips/vips.h
compilerOpts =-I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include -I/usr/include/x86_64-linux-gnu
linkerOpts = -lvips -lglib-2.0 -lgobject-2.0
this just feels a bit wrong to have to include -I/usr/include
Timofey Solonin
11/27/2023, 10:40 PMdifferent compilerOpts with different include pathsAre the target-specific options what you are looking for?
rrva
11/27/2023, 10:59 PM