Commits

Paul O'Neil committed d259b82

Use posix_static_python_lib() instead of a hardcoded path

Comments (0)

Files changed (1)

         if _isPlatWin:
             self._linkOpts = []
         elif _isPlatOSX:
-            self._linkOpts = ['-shared', '-L/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/config/libpython2.7.a']
+            self._linkOpts = ['-shared', '-L'+posix_static_python_lib()]
         else:
             self._linkOpts = ['-shared','-defaultlib=libphobos2.so']
         # _includeOpts