Branch: refs/heads/master Author: Thomas Martitz kugel@rockbox.org Committer: Colomban Wendling ban@herbesfolles.org Date: Fri, 10 Apr 2015 14:16:19 UTC Commit: 7649a6921fc36a518a38d0c35006ed100ad5486b https://github.com/geany/geany/commit/7649a6921fc36a518a38d0c35006ed100ad548...
Log Message: ----------- waf: Fix core plugins on Linux
The -fvisibility=hidden flag for libgeany.so is also applied to plugins. This is not desirable.
Modified Paths: -------------- wscript
Modified: wscript 2 lines changed, 2 insertions(+), 0 deletions(-) =================================================================== @@ -319,6 +319,7 @@ but you then may not have a local copy of the HTML manual.''' elif visibility_hidden_supported: geany_symbol_flags = ['-fvisibility=hidden', '-DGEANY_EXPORT_SYMBOL=__attribute__((visibility("default")))'] + conf.env['CFLAGS_plugin'] = '-fvisibility=default' else: # unknown, define to nothing geany_symbol_flags = ['-DGEANY_EXPORT_SYMBOL='] geany_symbol_flags.append('-DGEANY_API_SYMBOL=GEANY_EXPORT_SYMBOL') @@ -406,6 +407,7 @@ def build(bld): includes = ['.', 'src/', 'scintilla/include', 'tagmanager/src'], defines = 'G_LOG_DOMAIN="%s"' % plugin_name, target = plugin_name, + cflags = bld.env['CFLAGS_plugin'], uselib = ['GTK', 'GLIB', 'GMODULE'] + uselib_add, use = ['geany'], install_path = instpath)
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).