From d8720892c84c902e9fc0140b09135e2f421b08a4 Mon Sep 17 00:00:00 2001 From: "Adam D. Ruppe" Date: Thu, 10 Jan 2019 10:25:28 -0500 Subject: [PATCH] add db libs (dub sux btw, dmd knows from the source itself!) --- dub.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dub.json b/dub.json index e91aa02..364dda4 100644 --- a/dub.json +++ b/dub.json @@ -95,6 +95,8 @@ "description": "MySQL client library. Wraps the official C library with my database.d interface.", "targetType": "sourceLibrary", "dependencies": {"arsd-official:database_base":"*"}, + "libs-posix": ["mysqlclient"], + "libs-windows": ["libmysql"], "sourceFiles": ["mysql.d"] }, { @@ -102,6 +104,7 @@ "description": "Postgresql client library. Wraps the libpq C library with my database.d interface.", "targetType": "sourceLibrary", "dependencies": {"arsd-official:database_base":"*"}, + "libs": ["pq"], "sourceFiles": ["postgres.d"] }, @@ -110,6 +113,8 @@ "description": "sqlite wrapper. Wraps the official C library with my database.d interface.", "targetType": "sourceLibrary", "dependencies": {"arsd-official:database_base":"*"}, + "libs": ["sqlite3"], + "libs-posix": ["dl"], "sourceFiles": ["sqlite.d"] }, @@ -118,6 +123,7 @@ "description": "Microsoft SQL Server client library. Wraps the official ODBC library with my database.d interface.", "targetType": "sourceLibrary", "dependencies": {"arsd-official:database_base":"*"}, + "libs-windows": ["odbc32"], "sourceFiles": ["mssql.d"] },