urcrypt: restores pkg-config api versioning scheme

This commit is contained in:
Joe Bryan 2021-08-19 21:58:18 -04:00
parent 507c681555
commit 425f164942
3 changed files with 3 additions and 3 deletions

2
pkg/urbit/configure vendored
View File

@ -9,7 +9,7 @@ URBIT_VERSION="$(cat ./version)"
pkgc_deps=" \
libcurl \
libh2o \
liburcrypt \
liburcrypt-0 \
libuv \
openssl \
"

View File

@ -19,7 +19,7 @@ noinst_HEADERS = urcrypt/util.h \
scrypt/libscrypt.h
# main library
pkgconfig_DATA = liburcrypt.pc
pkgconfig_DATA = liburcrypt-$(URCRYPT_API_VERSION).pc
DISTCLEANFILES = $(pkgconfig_DATA)
liburcrypt_la_CPPFLAGS = -I$(srcdir)/ed25519/src \

View File

@ -102,5 +102,5 @@ AC_TYPE_UINT8_T
AC_CHECK_FUNCS([memset])
# Finish and output
AC_CONFIG_FILES([Makefile liburcrypt.pc:liburcrypt.pc.in])
AC_CONFIG_FILES([Makefile liburcrypt-$URCRYPT_API_VERSION.pc:liburcrypt.pc.in])
AC_OUTPUT