From 1423b078638884f8956a5cdc9d7f37d3bae7f024 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 24 Feb 2019 12:49:31 +0000 Subject: Tidy link of libpq --- libpqpp/Jamfile.jam | 13 +++++-------- libpqpp/unittests/Jamfile.jam | 3 +-- 2 files changed, 6 insertions(+), 10 deletions(-) (limited to 'libpqpp') diff --git a/libpqpp/Jamfile.jam b/libpqpp/Jamfile.jam index 2b31d95..09f2669 100644 --- a/libpqpp/Jamfile.jam +++ b/libpqpp/Jamfile.jam @@ -1,21 +1,18 @@ import package ; -lib pq ; +lib pq : : : : + "-I`pg_config --includedir`" + "-L`pg_config --libdir`" + ; lib adhocutil : : : : /usr/include/adhocutil ; lib dbppcore : : : : /usr/include/dbpp ; lib boost_date_time ; lib stdc++fs ; -alias libpq : : : : - "-I`pg_config --includedir`" - "-L`pg_config --libdir`" - pq - ; - lib dbpp-postgresql : [ glob *.cpp ] : ..//glibmm - libpq + pq adhocutil dbppcore boost_date_time diff --git a/libpqpp/unittests/Jamfile.jam b/libpqpp/unittests/Jamfile.jam index 577b70c..f0ba112 100644 --- a/libpqpp/unittests/Jamfile.jam +++ b/libpqpp/unittests/Jamfile.jam @@ -17,9 +17,8 @@ run ..//dbpp-postgresql dbpptestcore adhocutil + ..//pq boost_utf stdc++fs - : - testpq ; -- cgit v1.2.3