kuuko pushed a commit to branch master.

http://git.enlightenment.org/bindings/python/python-efl.git/commit/?id=8726199f6c345ae596a19801c69bce1939f9109b

commit 8726199f6c345ae596a19801c69bce1939f9109b
Author: Kai Huuhko <kai.huu...@gmail.com>
Date:   Thu Dec 19 19:22:23 2013 +0200

    Force default visibility in CFLAGS.
    
    Fixes T504
---
 setup.py | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/setup.py b/setup.py
index 02361af..d6abf0a 100755
--- a/setup.py
+++ b/setup.py
@@ -16,6 +16,11 @@ EFL_MIN_VERSION = "1.8.99"
 ELM_MIN_VERSION = "1.8.99"
 
 
+# XXX: Force default visibility. See phab T504
+if os.environ.has_key("CFLAGS") and "-fvisibility=" in os.environ["CFLAGS"]:
+    os.environ["CFLAGS"] += " -fvisibility=default"
+
+
 # === Sphinx ===
 try:
     from sphinx.setup_command import BuildDoc

-- 


Reply via email to