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:39:04 -0400
commit87111a7f472b2ca8ba2d4f7c71711c60db1f675d (patch)
tree5b1aaf7bcc953a91d15a1db73a2fb00cb167168f
parentb8c206a00e50587763b4ea080957ce743c1e882f (diff)
downloadntapi-87111a7f472b2ca8ba2d4f7c71711c60db1f675d.tar.bz2
ntapi-87111a7f472b2ca8ba2d4f7c71711c60db1f675d.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)