Compare commits

..

No commits in common. "e3f90f22ef39d36ba512f099165a1b19c3eb2059" and "d5f8f8448027411e1089e36028970ec2716b3300" have entirely different histories.

View file

@ -97,7 +97,6 @@ pub fn build(b: *std.build.Builder) !void {
if (enable_postgres) exe.linkSystemLibrary("pq"); if (enable_postgres) exe.linkSystemLibrary("pq");
exe.linkLibC(); exe.linkLibC();
exe.addSystemIncludePath("/usr/include/"); exe.addSystemIncludePath("/usr/include/");
exe.addSystemIncludePath("/usr/include/postgresql"); // HACK
const unittest_http_cmd = b.step("unit:http", "Run tests for http package"); const unittest_http_cmd = b.step("unit:http", "Run tests for http package");
const unittest_http = b.addTest("src/http/lib.zig"); const unittest_http = b.addTest("src/http/lib.zig");
@ -138,8 +137,6 @@ pub fn build(b: *std.build.Builder) !void {
api_integration.addPackage(pkgs.main); api_integration.addPackage(pkgs.main);
api_integration.addPackage(pkgs.api); api_integration.addPackage(pkgs.api);
api_integration.linkLibC(); api_integration.linkLibC();
api_integration.addSystemIncludePath("/usr/include/");
api_integration.addSystemIncludePath("/usr/include/postgresql"); // HACK
if (enable_sqlite) api_integration.linkSystemLibrary("sqlite3"); if (enable_sqlite) api_integration.linkSystemLibrary("sqlite3");
if (enable_postgres) api_integration.linkSystemLibrary("pq"); if (enable_postgres) api_integration.linkSystemLibrary("pq");