summaryrefslogtreecommitdiff
path: root/libpqpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2019-02-24 12:49:31 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2019-02-24 12:49:31 +0000
commit1423b078638884f8956a5cdc9d7f37d3bae7f024 (patch)
treec5f16bd9428f02782fefc777ec0106736348548d /libpqpp
parentEnable hicpp checks and fix accordingly (diff)
downloadlibdbpp-postgresql-1423b078638884f8956a5cdc9d7f37d3bae7f024.tar.bz2
libdbpp-postgresql-1423b078638884f8956a5cdc9d7f37d3bae7f024.tar.xz
libdbpp-postgresql-1423b078638884f8956a5cdc9d7f37d3bae7f024.zip
Tidy link of libpq
Diffstat (limited to 'libpqpp')
-rw-r--r--libpqpp/Jamfile.jam13
-rw-r--r--libpqpp/unittests/Jamfile.jam3
2 files changed, 6 insertions, 10 deletions
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 : : : :
+ <cflags>"-I`pg_config --includedir`"
+ <linkflags>"-L`pg_config --libdir`"
+ ;
lib adhocutil : : : : <include>/usr/include/adhocutil ;
lib dbppcore : : : : <include>/usr/include/dbpp ;
lib boost_date_time ;
lib stdc++fs ;
-alias libpq : : : :
- <cflags>"-I`pg_config --includedir`"
- <linkflags>"-L`pg_config --libdir`"
- <library>pq
- ;
-
lib dbpp-postgresql :
[ glob *.cpp ] :
<library>..//glibmm
- <library>libpq
+ <library>pq
<library>adhocutil
<library>dbppcore
<library>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
<library>..//dbpp-postgresql
<library>dbpptestcore
<library>adhocutil
+ <library>..//pq
<library>boost_utf
<library>stdc++fs
- :
- testpq
;