pg: add windows include and lib flag
parent
1d0f3abadf
commit
a6347118cd
|
@ -75,3 +75,4 @@ thirdparty/SDL2_ttf/
|
||||||
cachegrind.out.*
|
cachegrind.out.*
|
||||||
|
|
||||||
.gdb_history
|
.gdb_history
|
||||||
|
/thirdparty/pg
|
||||||
|
|
|
@ -3,6 +3,8 @@ module pg
|
||||||
#flag -lpq
|
#flag -lpq
|
||||||
#flag linux -I/usr/include/postgresql
|
#flag linux -I/usr/include/postgresql
|
||||||
#flag darwin -I/opt/local/include/postgresql11
|
#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>
|
#include <libpq-fe.h>
|
||||||
|
|
||||||
pub struct DB {
|
pub struct DB {
|
||||||
|
|
Loading…
Reference in New Issue