Solve a visibility conflict for meinproc5

Authored by ltoscano on Apr 30 2017, 7:13 PM.

Description

Solve a visibility conflict for meinproc5

Summary:
This seems to affect only mingw, which can't link meinproc5 as
the symbol exported affects in the sources shared with the
library affects the build (but not on gcc on *nix and with MSVC).

The other (probably better) solution would have been to split the
source code so that the sources of the libraries are separate, but
that would require more changes. As this seems to work, I'd prefer
to move the more complicated changes to "later".

Thanks to Hannah Von Reth for the hint.

BUG: 379142

Test Plan: Compiles with gcc 6.3 (Debian Testing), as before), with mingw (as deployed on current Craft) and with MSVC (2017) (the latter with less linking warnings so it was an issue there). All on x86_64.

Reviewers: vonreth

Reviewed By: vonreth

Subscribers: Frameworks, Documentation

Tags: Frameworks, Documentation, Windows

Differential Revision: https://phabricator.kde.org/D5674

Details

Committed
ltoscanoMay 2 2017, 6:14 PM
Reviewer
vonreth
Differential Revision
D5674: Solve a visibility conflict for meinproc5
Parents
R238:f125fdd425c8: Quote few other variables with path (avoid issues with spaces)
Branches
Unknown
Tags
Unknown