add system include directory
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
jaina heartles 2022-12-18 06:25:00 -08:00
parent d5f8f84480
commit e4b67ad66b

View file

@ -137,6 +137,7 @@ pub fn build(b: *std.build.Builder) !void {
api_integration.addPackage(pkgs.main);
api_integration.addPackage(pkgs.api);
api_integration.linkLibC();
api_integration.addSystemIncludePath("/usr/include/");
if (enable_sqlite) api_integration.linkSystemLibrary("sqlite3");
if (enable_postgres) api_integration.linkSystemLibrary("pq");