summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2020-08-16 17:00:44 +0000
committermidipix <writeonce@midipix.org>2020-08-16 18:04:05 +0000
commit1394543be7df6171ceac2d5eadef48ca4e302efa (patch)
tree039832799f0e96f553820cfff792241b0636f859 /Makefile.in
parentc425d2f51325021a08051b8c7ef17cc407254566 (diff)
downloadslibtool-1394543be7df6171ceac2d5eadef48ca4e302efa.tar.bz2
slibtool-1394543be7df6171ceac2d5eadef48ca4e302efa.tar.xz
build system: shared library logic: support dso-implemented-as-archive targets.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index aacac6a..925e6a4 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -114,6 +114,9 @@ DISABLE_STATIC = @disable_static@
USE_CUSTOM_CFGDEFS = @use_custom_cfgdefs@
USE_CUSTOM_USRDEFS = @use_custom_usrdefs@
+SHARED_LIB_CMD = @shared_lib_cmd@
+SHARED_LIB_LDFLAGS = @shared_lib_ldflags@
+
.cflags-host:
@printf '%s' "$(CFLAGS)"
@@ -160,7 +163,7 @@ src/%.o: $(SOURCE_DIR)/src/%.c $(ALL_HEADERS) host.tag tree.tag
$(CC) -c -o $@ $< $(CFLAGS_STATIC)
lib/%$(OS_LIB_PREFIXED_SUFFIX)$(VER_XYZ)$(OS_LIB_SUFFIXED_SUFFIX):
- $(CC) -shared -o $@ $^ $(LDFLAGS_SHARED)
+ $(SHARED_LIB_CMD) $@ $^ $(SHARED_LIB_LDFLAGS)
lib/%$(OS_ARCHIVE_EXT):
mkdir -p lib