summaryrefslogtreecommitdiff
path: root/libpqpp
diff options
context:
space:
mode:
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
;