summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2017-10-19 12:40:11 +0000
committermidipix <writeonce@midipix.org>2018-05-21 01:44:56 -0400
commit739656f78e90e4bc4366b90d7d9278fc591fbb3c (patch)
tree61ebd712c2a6c0898ddbb6f2db0d1d29d089998c
parentcdceaff01782068ce156d0f68f426589bcf2c946 (diff)
downloadntux-739656f78e90e4bc4366b90d7d9278fc591fbb3c.tar.bz2
ntux-739656f78e90e4bc4366b90d7d9278fc591fbb3c.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)