019786 build system: --all-shared: ensure linking against the newly built library.

Authored and Committed by midipix 6 years ago
1 file changed. 1 lines added. 1 lines removed.
    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.
    
        
file modified
+1 -1
Makefile.in CHANGED
@@ -228,7 +228,7 @@ $(DEFAULT_APP): $(STATIC_OBJS) $(APP_OBJS)
228
228
rm -f app.tag
229
229
$(CC) -o $@ $^ $(LDFLAGS_APP)
230
230
231
- $(SHARED_APP): $(DSO_REF_SONAME) $(APP_OBJS) $(SHARED_SOLINK)
231
+ $(SHARED_APP): $(DSO_REF_SOLINK) $(APP_OBJS) $(SHARED_SOLINK)
232
232
rm -f app.tag
233
233
$(CC) -o $@ $(APP_OBJS) $(LDFLAGS_APP) -l$(PACKAGE)
234
234