Currently, when integrating C libraries, the include paths must be absolute or the C compiler does not find them. It would be nice if So would resolve the relative include paths to the path where it temporarily builds the C files.
Example:
this fails as the included file is relative to the main.go location.
// main.go
package main
//so:include "lib3p/glfw/include/GLFW/glfw3.h"
Currently, when integrating C libraries, the include paths must be absolute or the C compiler does not find them. It would be nice if So would resolve the relative include paths to the path where it temporarily builds the C files.
Example:
this fails as the included file is relative to the main.go location.