actually initialize kcrash properly
ClosedPublic

Authored by sitter on Nov 21 2018, 8:38 AM.

Details

Summary

to successfully use kcrash when linking with as-needed (which is a default
flag on many linux distros) one also needs to call KCrash::initialize.

without this kcrash may not be available for most users.

https://markmail.org/thread/zv5pheijaze72bzs

Test Plan

builds; target linked to kcrash even when using --as-needed

Diff Detail

Repository
R327 Kanagram
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
sitter created this revision.Nov 21 2018, 8:38 AM
Restricted Application added a project: KDE Edu. · View Herald TranscriptNov 21 2018, 8:38 AM
Restricted Application added a subscriber: kde-edu. · View Herald Transcript
sitter requested review of this revision.Nov 21 2018, 8:38 AM
apol accepted this revision.Nov 21 2018, 11:58 AM
This revision is now accepted and ready to land.Nov 21 2018, 11:58 AM
This revision was automatically updated to reflect the committed changes.