[pypy-commit] pypy default: reset extra_libs after creating the Makefile

mattip pypy.commits at gmail.com
Mon Oct 21 17:49:22 EDT 2019


Author: Matti Picus <matti.picus at gmail.com>
Branch: 
Changeset: r97828:fb4d4c113dae
Date: 2019-10-21 22:47 +0300
http://bitbucket.org/pypy/pypy/changeset/fb4d4c113dae/

Log:	reset extra_libs after creating the Makefile

diff --git a/rpython/translator/platform/darwin.py b/rpython/translator/platform/darwin.py
--- a/rpython/translator/platform/darwin.py
+++ b/rpython/translator/platform/darwin.py
@@ -99,6 +99,7 @@
                      no_precompile_cfiles = [], profopt=False, config=None):
         # ensure frameworks are passed in the Makefile
         fs = self._frameworks(eci.frameworks)
+        extra_libs = self.extra_libs
         if len(fs) > 0:
             # concat (-framework, FrameworkName) pairs
             self.extra_libs += tuple(map(" ".join, zip(fs[::2], fs[1::2])))
@@ -107,6 +108,7 @@
                                 headers_to_precompile=headers_to_precompile,
                                 no_precompile_cfiles = no_precompile_cfiles,
                                 profopt=profopt, config=config)
+        self.extra_libs = extra_libs
         return mk
 
 class Darwin_PowerPC(Darwin):#xxx fixme, mwp


More information about the pypy-commit mailing list