Skip to content

Commit f33ce36

Browse files
authored
Merge pull request stephencelis#593 from stephencelis/doc
Mention linker flag in READNE
2 parents 6075168 + 9843f5e commit f33ce36

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

README.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -174,11 +174,17 @@ The [Swift Package Manager][] is a tool for managing the distribution of Swift c
174174
175175
1. Add the following to your `Package.swift` file:
176176
177-
```swift
178-
dependencies: [
179-
.Package(url: "https://github.com/stephencelis/SQLite.swift.git", majorVersion: 0, minor: 11)
180-
]
181-
```
177+
```swift
178+
dependencies: [
179+
.Package(url: "https://github.com/stephencelis/SQLite.swift.git", majorVersion: 0, minor: 11)
180+
]
181+
```
182+
183+
2. Build your project:
184+
185+
``` sh
186+
$ swift build -Xlinker -lsqlite3
187+
```
182188

183189
[Swift Package Manager]: https://swift.org/package-manager
184190

0 commit comments

Comments
 (0)