aboutsummaryrefslogtreecommitdiffstats
path: root/packaging/ldns-config.in
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/ldns-config.in')
-rwxr-xr-xpackaging/ldns-config.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/packaging/ldns-config.in b/packaging/ldns-config.in
index b728ba544e12..d2cf4d43cafa 100755
--- a/packaging/ldns-config.in
+++ b/packaging/ldns-config.in
@@ -9,6 +9,7 @@ LDFLAGS="@LDFLAGS@ @LIBSSL_LDFLAGS@ @PYTHON_LDFLAGS@"
LIBS="@LIBS@ @LIBSSL_LIBS@"
LIBDIR="@libdir@"
INCLUDEDIR="@includedir@"
+LIBVERSION="@LIBLDNS_CURRENT@.@LIBLDNS_REVISION@.@LIBLDNS_AGE@"
for arg in $@
do
@@ -28,4 +29,8 @@ do
then
echo "${VERSION}"
fi
+ if [ $arg = "--libversion" ]
+ then
+ echo "${LIBVERSION}"
+ fi
done