Skip to content

Commit

Permalink
Use fb_config to find import headers.
Browse files Browse the repository at this point in the history
refs #2
  • Loading branch information
Skrylar committed Nov 19, 2017
1 parent d3e3a54 commit d179a7d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 0 additions & 2 deletions examples/ex01.nim
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@

{.passl: "-lfbembed".}

import ../firebird3

var status_vector: STATUS_ARRAY
Expand Down
2 changes: 0 additions & 2 deletions examples/ex02.nim
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@

{.passl: "-lfbembed".}

import ../firebird3

var status_vector: STATUS_ARRAY
Expand Down
3 changes: 3 additions & 0 deletions firebird3.nim
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@

{.passc: staticExec("fb_config --cflags").}
{.passl: "-lfbclient".}

assert int.sizeof == pointer.sizeof

const
Expand Down

0 comments on commit d179a7d

Please sign in to comment.