Blob Blame History Raw
diff -rupN Python-2.7.13/setup.py Python-2.7.13-new/setup.py
--- Python-2.7.13/setup.py	2017-01-21 01:46:13.607531741 +0100
+++ Python-2.7.13-new/setup.py	2017-01-21 01:46:13.609531720 +0100
@@ -288,6 +288,8 @@ class PyBuildExt(build_ext):
             args['compiler_so'] = compiler + ' ' + ccshared + ' ' + cflags
         self.compiler.set_executables(**args)
 
+        self.compiler.library_dirs.insert(0, '.')
+
         build_ext.build_extensions(self)
 
         longest = 0