Em Friday 19 October 2007 12:39:53 Simon Edwards escreveu: > Hello, > > Is there a neat way of disabling gcc's visibility=hidden for a given > library? (which in my case will actually be a Python module) Or should I > just manually filter it out of CMAKE_CXX_FLAGS for my code?
Not right now. But what should happen is that CMAKE_C_FLAGS and CMAKE_CXX_FLAGS should be set on a per-target basis: only for KDE_ADD_LIBRARY (and similarly shared modules like kdeinit and plugins). Anything else (applications and non-KDE libraries) do not automatically get -fvisibility=hidden. Do you want to give the patch a try? -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org PGP/GPG: 0x6EF45358; fingerprint: E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Kde-buildsystem mailing list [email protected] https://mail.kde.org/mailman/listinfo/kde-buildsystem
