[pypy-commit] pypy cffi-embedding-win32: Add libpypy-c.lib to the archive on windows

arigo pypy.commits at gmail.com
Thu Feb 11 09:23:05 EST 2016


Author: Armin Rigo <arigo at tunes.org>
Branch: cffi-embedding-win32
Changeset: r82159:8f955811f19a
Date: 2016-02-11 15:18 +0100
http://bitbucket.org/pypy/pypy/changeset/8f955811f19a/

Log:	Add libpypy-c.lib to the archive on windows

diff --git a/pypy/tool/release/package.py b/pypy/tool/release/package.py
--- a/pypy/tool/release/package.py
+++ b/pypy/tool/release/package.py
@@ -129,6 +129,9 @@
         win_extras = ['libpypy-c.dll', 'sqlite3.dll']
         if not options.no_tk:
             win_extras += ['tcl85.dll', 'tk85.dll']
+        # add the .lib too, which is convenient to compile other programs
+        # that use the .dll (and for cffi's embedding mode)
+        win_extras.append('libpypy-c.lib')
 
         for extra in win_extras:
             p = pypy_c.dirpath().join(extra)


More information about the pypy-commit mailing list