Skip to content

Commit

Permalink
PyPy: Fix build in OS X
Browse files Browse the repository at this point in the history
  • Loading branch information
dalcinl committed May 10, 2013
1 parent bab5522 commit ff9da1e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions conf/mpidistutils.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,8 @@ def customize_compiler(compiler, lang=None,
basecflags = '-Wall -Wimplicit'
if not ccshared: ccshared = '-fPIC'
if not ldshared: ldshared = '-shared'
if sys.platform == 'darwin':
ldshared += ' -Wl,-undefined,dynamic_lookup'
# Compiler command overriding
if not mpild and (mpicc or mpicxx):
if lang == 'c':
Expand Down

0 comments on commit ff9da1e

Please sign in to comment.