From 4089a5d1b25c22c93fd5e76488ed21766fcb5e9f Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 24 Feb 2019 12:51:46 +0000 Subject: Tidy link of libpq --- libdbpp/unittests/Jamfile.jam | 14 ++++++-------- libdbpp/unittests/libdbpp-postgresql | 2 +- 2 files changed, 7 insertions(+), 9 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 : : : : + "-I`pg_config --includedir`" + "-L`pg_config --libdir`" +; lib mysqlclient : : : : /usr/include/mysql ; lib boost_date_time ; lib boost_system ; @@ -45,16 +48,10 @@ run testParse ; -alias libpq : : : : - "-I`pg_config --includedir`" - "-L`pg_config --libdir`" - pq - ; - lib dbpp-local-postgresql : [ glob libdbpp-postgresql/libpqpp/*.cpp ] : ../..//glibmm - libpq + pq ..//adhocutil ..//dbppcore boost_date_time @@ -151,6 +148,7 @@ run ..//dbpptestcore ..//adhocutil boost_utf + pq ..//stdc++fs boost_system ; diff --git a/libdbpp/unittests/libdbpp-postgresql b/libdbpp/unittests/libdbpp-postgresql index d7ff2e0..1423b07 160000 --- a/libdbpp/unittests/libdbpp-postgresql +++ b/libdbpp/unittests/libdbpp-postgresql @@ -1 +1 @@ -Subproject commit d7ff2e0d651d6b0bc24cf2b173613d6386576bc4 +Subproject commit 1423b078638884f8956a5cdc9d7f37d3bae7f024 -- cgit v1.2.3