From 1edfdc60c36a68346d53a48052931745f18f124d Mon Sep 17 00:00:00 2001 From: midipix Date: Thu, 19 Oct 2017 12:40:11 +0000 Subject: build system: allow cmdline overriding of the static archive's base name. --- sofort/defs.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sofort/defs.mk b/sofort/defs.mk index 5810783..2fbc41b 100644 --- a/sofort/defs.mk +++ b/sofort/defs.mk @@ -14,7 +14,8 @@ APP_OBJS = $(APP_SRCS:.c=.o) SHARED_OBJS = $(COMMON_LOBJS) $(ARCH_LOBJS) STATIC_OBJS = $(COMMON_OBJS) $(ARCH_OBJS) -STATIC_LIB = lib/$(OS_LIB_PREFIX)$(PACKAGE)$(OS_ARCHIVE_EXT) +STATIC_LIB_NAME = $(OS_LIB_PREFIX)$(PACKAGE)$(OS_ARCHIVE_EXT) +STATIC_LIB = lib/$(STATIC_LIB_NAME) DSO_VER = $(OS_LIB_PREFIX)$(PACKAGE)$(OS_LIB_SUFFIX)$(VER_XYZ) DSO_SONAME = $(OS_LIB_PREFIX)$(PACKAGE)$(OS_LIB_SUFFIX)$(VER_SONAME) -- cgit v1.2.3