aboutsummaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/build.sh b/build.sh
index 9517223..8a88216 100755
--- a/build.sh
+++ b/build.sh
@@ -7,6 +7,8 @@ echo "odb package"
odb -d pgsql --std c++11 --generate-query --generate-schema \
--odb-epilogue '#include <brep/wrapper-traits>' \
--hxx-prologue '#include <brep/wrapper-traits>' \
+ --hxx-prologue "#include <brep/package-traits>" \
+ --sql-epilogue-file package-extra.sql \
-I .. -I ../../libbpkg -I ../../libbutl \
--hxx-suffix "" --include-with-brackets \
--include-prefix brep --guard-prefix BREP \
@@ -16,7 +18,7 @@ if test $e -ne 0; then exit $e; fi
echo "g++ libbrep.so"
-s="package.cxx package-odb.cxx"
+s="package.cxx package-traits.cxx package-odb.cxx"
g++ -shared $DEBUG -std=c++11 -I.. -I../../libbpkg \
-I../../libbutl -L../../libbpkg/bpkg -L../../libbutl/butl \