From b5b996507c6287b5216a7c628adfdf23ec7dc4a2 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 18 Jun 2015 10:14:57 +0200 Subject: Move cxx.poptions setting from root.build to buildfile That's the new recommended way. Also, remove hardcoded -I/usr/include/apr-1. This should be passed with config.cxx.poptions during configuration, e.g., b config.cxx.poptions=-I/usr/include/apr-1 configure --- build/root.build | 2 -- buildfile | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/build/root.build b/build/root.build index bfa96d0..e14129a 100644 --- a/build/root.build +++ b/build/root.build @@ -1,5 +1,3 @@ using cxx cxx.std = 11 -cxx.poptions += -I$src_root -I/usr/include/apr-1 -cxx.libs = -lodb-pgsql -lodb diff --git a/buildfile b/buildfile index 21ed86f..6104ee0 100644 --- a/buildfile +++ b/buildfile @@ -2,5 +2,5 @@ brep=brep/{diagnostics module options package package-odb search view} web=web/apache/{request service} libso{brep}: cxx{$brep $web services} - -.: libso{brep} +cxx.poptions += -I$src_root +cxx.libs += -lodb-pgsql -lodb -- cgit v1.1