diff options
| author | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-09-27 12:08:23 +0200 |
|---|---|---|
| committer | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-09-27 12:08:23 +0200 |
| commit | 2cffe792d8070f37345056e8c88379aa8a2774fd (patch) | |
| tree | 2b87d1c8b16dd3492b8123707b1f21a0306c7318 /exports/common.mk | |
| parent | 09ec69dfdef409868f1cb39cb8cc4b33c8690c9f (diff) | |
Version: Ensure that we load a specific one
Diffstat (limited to 'exports/common.mk')
| -rw-r--r-- | exports/common.mk | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/exports/common.mk b/exports/common.mk index c1e2a7e..c5386ae 100644 --- a/exports/common.mk +++ b/exports/common.mk @@ -18,10 +18,14 @@ LIB_PREFIX ?= lib LIB_SUFFIX ?= .so endif +# Current version +VERSION = 0.1.0 + # Library name without prefixes/suffixes LIB_NAME ?= eduvpn_common +LIB_NAME_VERSION ?= $(LIB_NAME)-$(VERSION) # Library file name -LIB_FILE ?= $(LIB_PREFIX)$(LIB_NAME)$(LIB_SUFFIX) +LIB_FILE ?= $(LIB_PREFIX)$(LIB_NAME_VERSION)$(LIB_SUFFIX) # Get relative exports/ directory when included from a wrapper, without trailing slash override EXPORTS_PATH = $(patsubst %/,%,$(dir $(lastword $(MAKEFILE_LIST)))) |
