summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-11-25 13:10:20 -0500
committermidipix <writeonce@midipix.org>2018-11-25 13:17:30 -0500
commitad0133082b688b0b390078688229c27937dd7bed (patch)
tree4644b5ff85b70bcb25e65c28a6ebe4d169508550
parentace760c3abbc752d5d6da1860fa250cee3cf0604 (diff)
downloadpemagine-ad0133082b688b0b390078688229c27937dd7bed.tar.bz2
pemagine-ad0133082b688b0b390078688229c27937dd7bed.tar.xz
build system: --all-shared: ensure linking against the newly built library.
This patch guards against the case where -lfoo would result in the linking in of either an external import library libfoo.lib.a, or a static libfoo.a, be it internal or external to the build system.
-rw-r--r--Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index 76d0133..208a2ed 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -228,7 +228,7 @@ $(DEFAULT_APP): $(STATIC_OBJS) $(APP_OBJS)
rm -f app.tag
$(CC) -o $@ $^ $(LDFLAGS_APP)
-$(SHARED_APP): $(DSO_REF_SONAME) $(APP_OBJS) $(SHARED_SOLINK)
+$(SHARED_APP): $(DSO_REF_SOLINK) $(APP_OBJS) $(SHARED_SOLINK)
rm -f app.tag
$(CC) -o $@ $(APP_OBJS) $(LDFLAGS_APP) -l$(PACKAGE)