From 047fcc4517124268279a2050b85c57accecbbfe9 Mon Sep 17 00:00:00 2001 From: aldacron Date: Thu, 27 Aug 2015 14:52:22 +0900 Subject: [PATCH] Add with-lib and without-lib configurations to make linking sqlite3 optional. --- dub.json | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/dub.json b/dub.json index cdfcfa8..4ef3125 100644 --- a/dub.json +++ b/dub.json @@ -6,6 +6,14 @@ "copyright": "Copyright 2011-15 Nicolas Sicard", "license": "BSL-1.0", "targetType": "library", - "libs": ["sqlite3"], - "systemDependencies": "SQLite version >= 3.8.7" + "systemDependencies": "SQLite version >= 3.8.7", + "configurations": [ + { + "name": "with-lib", + "libs": ["sqlite3"] + }, + { + "name": "without-lib" + } + ] }