summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/heimdal/lib/asn1/version-script.map6
-rw-r--r--source4/heimdal_build/wscript_build1
2 files changed, 7 insertions, 0 deletions
diff --git a/source4/heimdal/lib/asn1/version-script.map b/source4/heimdal/lib/asn1/version-script.map
new file mode 100644
index 0000000000..67f9ff0983
--- /dev/null
+++ b/source4/heimdal/lib/asn1/version-script.map
@@ -0,0 +1,6 @@
+# Export everything, but put a tag on is so that we make ourself incompatible with older versions
+
+HEIMDAL_ASN1_1.0 {
+ global:
+ *;
+};
diff --git a/source4/heimdal_build/wscript_build b/source4/heimdal_build/wscript_build
index 700dac509b..5f311c0cd7 100644
--- a/source4/heimdal_build/wscript_build
+++ b/source4/heimdal_build/wscript_build
@@ -691,6 +691,7 @@ if not bld.CONFIG_SET("USING_SYSTEM_ASN1"):
)
HEIMDAL_LIBRARY('asn1',
+ version_script='lib/asn1/version-script.map',
deps="HEIMDAL_HEIM_ASN1",
source='',
vnum='8.0.0')