[pypy-commit] pypy osx-shared: Fix typo: s/os/sys/.

larstiq noreply at buildbot.pypy.org
Wed Dec 31 07:59:50 CET 2014


Author: Wouter van Heyst <wouter.pypy at richtlijn.be>
Branch: osx-shared
Changeset: r75180:8d31fd6373c2
Date: 2014-12-22 22:33 +0200
http://bitbucket.org/pypy/pypy/changeset/8d31fd6373c2/

Log:	Fix typo: s/os/sys/.

diff --git a/rpython/translator/platform/posix.py b/rpython/translator/platform/posix.py
--- a/rpython/translator/platform/posix.py
+++ b/rpython/translator/platform/posix.py
@@ -140,7 +140,7 @@
         rel_libdirs = [rpyrel(libdir) for libdir in
                        self.preprocess_library_dirs(eci.library_dirs)]
 
-        if os.platform == 'darwin':
+        if sys.platform == 'darwin':
             rpath_flags = ['-Wl,-rpath', '-Wl, at executable_path']
         else:
             rpath_flags = ['-Wl,-rpath=\'$$ORIGIN/\'']


More information about the pypy-commit mailing list