From f9d98c57383bf7031cc48f8baa695c7db3f96cd9 Mon Sep 17 00:00:00 2001 From: midipix Date: Nov 25 2018 18:17:29 +0000 Subject: 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. --- 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)