1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

pg: add windows include and lib flag

This commit is contained in:
yuyi 2020-03-26 21:17:13 +08:00 committed by GitHub
parent 1d0f3abadf
commit a6347118cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

1
.gitignore vendored
View File

@ -75,3 +75,4 @@ thirdparty/SDL2_ttf/
cachegrind.out.*
.gdb_history
/thirdparty/pg

View File

@ -3,6 +3,8 @@ module pg
#flag -lpq
#flag linux -I/usr/include/postgresql
#flag darwin -I/opt/local/include/postgresql11
#flag windows -I @VROOT/thirdparty/pg/include
#flag windows -L @VROOT/thirdparty/pg/win64
#include <libpq-fe.h>
pub struct DB {