summaryrefslogtreecommitdiff
path: root/abicheck
diff options
context:
space:
mode:
authorJulian Andres Klode <julian.klode@canonical.com>2025-01-14 09:25:42 +0100
committerJulian Andres Klode <julian.klode@canonical.com>2025-01-14 09:25:42 +0100
commitf9a59225c3b1e025ad93116773cc7825621809c8 (patch)
treea9aae199888773b13b534524510f50c3d34a0240 /abicheck
parent20c9b6894790ef5f9b763e429dbd8f51c2e091e2 (diff)
abicheck: Add some workarounds to avoid errors
Diffstat (limited to 'abicheck')
-rw-r--r--abicheck/apt_build.xml.in9
-rw-r--r--abicheck/apt_installed.xml.in9
2 files changed, 18 insertions, 0 deletions
diff --git a/abicheck/apt_build.xml.in b/abicheck/apt_build.xml.in
index ec3946648..0e5fcb39f 100644
--- a/abicheck/apt_build.xml.in
+++ b/abicheck/apt_build.xml.in
@@ -9,3 +9,12 @@
<libs>
@build_path@/apt-pkg/
</libs>
+
+ <skip_types>
+ SubstVar
+ _ns_flagdata
+ </skip_types>
+
+ <defines>
+ #define APT_COMPILING_APT 1
+ </defines>
diff --git a/abicheck/apt_installed.xml.in b/abicheck/apt_installed.xml.in
index c3ddd0838..fbc74d3b5 100644
--- a/abicheck/apt_installed.xml.in
+++ b/abicheck/apt_installed.xml.in
@@ -9,3 +9,12 @@
<libs>
@installed_libapt@
</libs>
+
+<skip_types>
+ SubstVar
+ _ns_flagdata
+</skip_types>
+
+<defines>
+ #define APT_COMPILING_APT 1
+</defines>