From 83b10bfef2c163820a12087ffc2e343fd00ab7ac Mon Sep 17 00:00:00 2001 From: midipix Date: Oct 19 2017 22:45:18 +0000 Subject: build system: allow cmdline overriding of the static archive's base name. --- 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)