Skip to content

Commit d5b225f

Browse files
authored
guard with msvc flag
1 parent deb6d44 commit d5b225f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/sqlite3/lib_sqlite3.cr

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
require "./type"
22

3-
@[Link("sqlite3", dll: "sqlite3.dll")]
3+
@[Link("sqlite3")]
4+
{% if flag?(:msvc) %}
5+
@[Link(dll: "sqlite3.dll")]
6+
{% end %}
47
lib LibSQLite3
58
type SQLite3 = Void*
69
type Statement = Void*

0 commit comments

Comments
 (0)