summaryrefslogtreecommitdiff
path: root/abicheck
diff options
context:
space:
mode:
Diffstat (limited to 'abicheck')
-rw-r--r--abicheck/apt_build.xml.in (renamed from abicheck/apt_build.xml)4
-rwxr-xr-xabicheck/run_abi_test3
2 files changed, 5 insertions, 2 deletions
diff --git a/abicheck/apt_build.xml b/abicheck/apt_build.xml.in
index e04113ea1..f7d4c90cf 100644
--- a/abicheck/apt_build.xml
+++ b/abicheck/apt_build.xml.in
@@ -3,9 +3,9 @@
</version>
<headers>
- ../build/include/apt-pkg
+ @build_path@/include/apt-pkg
</headers>
<libs>
- ../build/bin/
+ @build_path@/bin/
</libs>
diff --git a/abicheck/run_abi_test b/abicheck/run_abi_test
index 8d4788ae7..609c710c4 100755
--- a/abicheck/run_abi_test
+++ b/abicheck/run_abi_test
@@ -8,4 +8,7 @@ fi
LIBPATH=$(find /usr/lib/ -type f -name "libapt-pkg*")
sed s#@installed_libapt@#$LIBPATH# apt_installed.xml.in > apt_installed.xml
+BUILDPATH=$(readlink -f ../build)
+sed s#@build_path@#$BUILDPATH# apt_build.xml.in > apt_build.xml
+
perl abi-compliance-checker.pl -l apt -d1 apt_installed.xml -d2 apt_build.xml