summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2017-10-19 12:40:11 +0000
committermidipix <writeonce@midipix.org>2017-10-19 18:38:42 -0400
commit809708ab14cc5f12f547a0d4b57d1169b780f100 (patch)
treee81401606311b6d6dfd5602c294bcbcae7beb9ce
parent95842c8919a9a21021f01e6a86a64e92cbd226bf (diff)
downloadmdso-809708ab14cc5f12f547a0d4b57d1169b780f100.tar.bz2
mdso-809708ab14cc5f12f547a0d4b57d1169b780f100.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)