summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2017-10-19 12:40:11 +0000
committermidipix <writeonce@midipix.org>2017-10-19 18:36:20 -0400
commit17503b819a456fbf98e1c05b500117de2700d636 (patch)
tree4192e62b45210481482b5bc2639fab2f71f36731
parent2364585aadeffdc69beef9f389a5e52bd4ff60ec (diff)
downloadbcparser-17503b819a456fbf98e1c05b500117de2700d636.tar.bz2
bcparser-17503b819a456fbf98e1c05b500117de2700d636.tar.xz
build system: allow cmdline overriding of the static archive's base name.
-rw-r--r--sofort/defs.mk3
1 files changed, 2 insertions, 1 deletions
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)