Force default visibility in CFLAGS.

Fixes T504
This commit is contained in:
Kai Huuhko 2013-12-19 19:22:23 +02:00
parent 277ed843ae
commit 8726199f6c
1 changed files with 5 additions and 0 deletions

View File

@ -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