Skip to content

Commit 42fed09

Browse files
committed
wip
1 parent 9f91b2c commit 42fed09

File tree

3 files changed

+14
-0
lines changed

3 files changed

+14
-0
lines changed

Package.swift

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,12 @@ for index in package.targets.indices {
121121
providers: [.apt(["libsqlite3-dev"])]
122122
)
123123
)
124+
125+
for index in package.targets.indices {
126+
if package.targets[index].name == "StructuredQueriesSQLite" {
127+
package.targets[index].dependencies.append("SQLite3")
128+
}
129+
}
124130
#endif
125131

126132
#if !os(Windows)

Sources/SQLite3/SQLite3.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#ifndef SQLite3
2+
#define SQLite3
3+
#include <sqlite3.h>
4+
#endif

Sources/SQLite3/module.modulemap

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
module SQLite3 [system] {
2+
header "SQLite3.h"
3+
export *
4+
}

0 commit comments

Comments
 (0)