diff options
author | midipix <writeonce@midipix.org> | 2018-11-25 13:10:20 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2018-11-25 13:17:31 -0500 |
commit | 16e50d022d5b04b1a09dccbc425dc724a95e2e96 (patch) | |
tree | f3f10aa676f1e82753eddf15eb6f8ca975975ebb | |
parent | d36a643cd9b57e9419632c30059806e0114be889 (diff) | |
download | w32lib-16e50d022d5b04b1a09dccbc425dc724a95e2e96.tar.bz2 w32lib-16e50d022d5b04b1a09dccbc425dc724a95e2e96.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.in | 2 |
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) |