From 1e70864370d222c73e7ab9e38f28c9116132484c Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 30 Jun 2019 12:47:56 +0100 Subject: Get glibmm and libpq flags from pkg-config --- libpqpp/Jamfile.jam | 6 +----- libpqpp/unittests/Jamfile.jam | 2 +- 2 files changed, 2 insertions(+), 6 deletions(-) (limited to 'libpqpp') diff --git a/libpqpp/Jamfile.jam b/libpqpp/Jamfile.jam index 09f2669..d825fa5 100644 --- a/libpqpp/Jamfile.jam +++ b/libpqpp/Jamfile.jam @@ -1,9 +1,5 @@ import package ; -lib pq : : : : - "-I`pg_config --includedir`" - "-L`pg_config --libdir`" - ; lib adhocutil : : : : /usr/include/adhocutil ; lib dbppcore : : : : /usr/include/dbpp ; lib boost_date_time ; @@ -12,7 +8,7 @@ lib stdc++fs ; lib dbpp-postgresql : [ glob *.cpp ] : ..//glibmm - pq + ..//pq adhocutil dbppcore boost_date_time diff --git a/libpqpp/unittests/Jamfile.jam b/libpqpp/unittests/Jamfile.jam index f0ba112..4e6cc23 100644 --- a/libpqpp/unittests/Jamfile.jam +++ b/libpqpp/unittests/Jamfile.jam @@ -17,7 +17,7 @@ run ..//dbpp-postgresql dbpptestcore adhocutil - ..//pq + ../..//pq boost_utf stdc++fs ; -- cgit v1.2.3