[frameworks-kcrash] [Bug 440416] When compiling statically: 'KCrash::defaultCrashHandler': redefinition; different linkage

2021-08-09 Thread Nicolas Fella
https://bugs.kde.org/show_bug.cgi?id=440416

Nicolas Fella  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED
  Latest Commit||https://invent.kde.org/fram
   ||eworks/kcoreaddons/commit/5
   ||d5834d86e2890e3baeafdc9bd06
   ||849496d7fc98

--- Comment #2 from Nicolas Fella  ---
Git commit 5d5834d86e2890e3baeafdc9bd06849496d7fc98 by Nicolas Fella.
Committed on 09/08/2021 at 22:00.
Pushed by nicolasfella into branch 'master'.

Fix issue when building KCrash static

KCoreAddons forward declares a function from KCrash.

It contains a Q_DECL_IMPORT but that breaks when doing a static build.

Only add the Q_DECL_IMPORT when we are doing a dynamic build.

M  +4-0src/lib/CMakeLists.txt
M  +4-0src/lib/kaboutdata.h

https://invent.kde.org/frameworks/kcoreaddons/commit/5d5834d86e2890e3baeafdc9bd06849496d7fc98

-- 
You are receiving this mail because:
You are watching all bug changes.

[frameworks-kcrash] [Bug 440416] When compiling statically: 'KCrash::defaultCrashHandler': redefinition; different linkage

2021-08-07 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=440416

Bug Janitor Service  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 Status|REPORTED|ASSIGNED

--- Comment #1 from Bug Janitor Service  ---
A possibly relevant merge request was started @
https://invent.kde.org/frameworks/kcoreaddons/-/merge_requests/122

-- 
You are receiving this mail because:
You are watching all bug changes.