summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2019-02-24 12:51:46 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2019-02-24 17:05:54 +0000
commit4089a5d1b25c22c93fd5e76488ed21766fcb5e9f (patch)
tree3f8089a35396e8ce2d49df1b6b7d17ef400835f1
parentFix PQ submodule path (diff)
downloadlibdbpp-4089a5d1b25c22c93fd5e76488ed21766fcb5e9f.tar.bz2
libdbpp-4089a5d1b25c22c93fd5e76488ed21766fcb5e9f.tar.xz
libdbpp-4089a5d1b25c22c93fd5e76488ed21766fcb5e9f.zip
Tidy link of libpq
-rw-r--r--libdbpp/unittests/Jamfile.jam14
m---------libdbpp/unittests/libdbpp-postgresql0
2 files changed, 6 insertions, 8 deletions
diff --git a/libdbpp/unittests/Jamfile.jam b/libdbpp/unittests/Jamfile.jam
index 95921cd..9338ae2 100644
--- a/libdbpp/unittests/Jamfile.jam
+++ b/libdbpp/unittests/Jamfile.jam
@@ -2,7 +2,10 @@ import testing ;
path-constant me : . ;
-lib pq ;
+lib pq : : : :
+ <cflags>"-I`pg_config --includedir`"
+ <linkflags>"-L`pg_config --libdir`"
+;
lib mysqlclient : : : : <include>/usr/include/mysql ;
lib boost_date_time ;
lib boost_system ;
@@ -45,16 +48,10 @@ run
testParse
;
-alias libpq : : : :
- <cflags>"-I`pg_config --includedir`"
- <linkflags>"-L`pg_config --libdir`"
- <library>pq
- ;
-
lib dbpp-local-postgresql :
[ glob libdbpp-postgresql/libpqpp/*.cpp ] :
<library>../..//glibmm
- <library>libpq
+ <library>pq
<library>..//adhocutil
<library>..//dbppcore
<library>boost_date_time
@@ -151,6 +148,7 @@ run
<library>..//dbpptestcore
<library>..//adhocutil
<library>boost_utf
+ <library>pq
<library>..//stdc++fs
<library>boost_system
;
diff --git a/libdbpp/unittests/libdbpp-postgresql b/libdbpp/unittests/libdbpp-postgresql
-Subproject d7ff2e0d651d6b0bc24cf2b173613d6386576bc
+Subproject 1423b078638884f8956a5cdc9d7f37d3bae7f02