diff options
Diffstat (limited to 'build.sh')
-rwxr-xr-x | build.sh | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 \ |