Skip to content

Commit b248758

Browse files
committed
Remove visibility=hidden from compilation flags (fixes #148)
1 parent a0971fe commit b248758

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

setup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,8 @@ def run(self):
227227

228228
extra_comp_args = check_output([mapnik_config, '--cflags']).split(' ')
229229

230+
extra_comp_args = list(filter(lambda arg: arg != "-fvisibility=hidden", extra_comp_args))
231+
230232
if os.environ.get("PYCAIRO", "false") == "true":
231233
try:
232234
extra_comp_args.append('-DHAVE_PYCAIRO')

0 commit comments

Comments
 (0)