aboutsummaryrefslogtreecommitdiff
path: root/tests/repository-location
diff options
context:
space:
mode:
Diffstat (limited to 'tests/repository-location')
-rw-r--r--tests/repository-location/buildfile5
-rw-r--r--tests/repository-location/driver.cxx2
2 files changed, 4 insertions, 3 deletions
diff --git a/tests/repository-location/buildfile b/tests/repository-location/buildfile
index b8e5f87..b1538ca 100644
--- a/tests/repository-location/buildfile
+++ b/tests/repository-location/buildfile
@@ -2,7 +2,8 @@
# copyright : Copyright (c) 2014-2016 Code Synthesis Ltd
# license : MIT; see accompanying LICENSE file
-exe{driver}: cxx{driver} ../../bpkg/lib{bpkg}
+import libs += libbutl%lib{butl}
-include ../../bpkg/
+exe{driver}: cxx{driver} ../../bpkg/lib{bpkg} $libs
+include ../../bpkg/
diff --git a/tests/repository-location/driver.cxx b/tests/repository-location/driver.cxx
index 2a2418c..441e295 100644
--- a/tests/repository-location/driver.cxx
+++ b/tests/repository-location/driver.cxx
@@ -10,9 +10,9 @@
#include <stdexcept> // invalid_argument
#include <butl/optional>
+#include <butl/manifest-parser>
#include <bpkg/manifest>
-#include <bpkg/manifest-parser>
using namespace std;
using namespace butl;