summaryrefslogtreecommitdiffhomepage
path: root/Makefile.in
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:28 -0500
commit45f73a7f18e2052d969386f8155527c42de26070 (patch)
tree0c978577ebd1456e2677d51f453e262ecb8768cb /Makefile.in
parentfb178f04d3a2204667da1d86827dfa0a43f6ba80 (diff)
downloadapimagic-45f73a7f18e2052d969386f8155527c42de26070.tar.bz2
apimagic-45f73a7f18e2052d969386f8155527c42de26070.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.
Diffstat (limited to 'Makefile.in')
-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)