Make sure all libraries are included and not removed as unreferenced

This commit is contained in:
baldurk
2015-08-23 21:43:48 +02:00
parent ce00be0075
commit 6cdbf807fe
+1 -1
View File
@@ -118,7 +118,7 @@ force_look:
true
librenderdoc.so: $(OBJDIR_OBJECTS) $(OBJDIR_DATA) $(LIBS)
$(CPP) -o librenderdoc.so $^ $(LDFLAGS)
$(CPP) -o librenderdoc.so $(OBJDIR_OBJECTS) $(OBJDIR_DATA) -Wl,--whole-archive $(LIBS) -Wl,--no-whole-archive $(LDFLAGS)
.PHONY: clean
clean: