Author: Armin Rigo <[email protected]>
Branch: 
Changeset: r72708:4b4823920562
Date: 2014-08-07 13:23 +0200
http://bitbucket.org/pypy/pypy/changeset/4b4823920562/

Log:    Add python27.lib automatically, so MSVC users need not specify the
        .lib file in their Makefile

diff --git a/include/PyPy.h b/include/PyPy.h
--- a/include/PyPy.h
+++ b/include/PyPy.h
@@ -53,6 +53,12 @@
 int pypy_execute_source_ptr(char *source, void* ptr);
 
 
+/* Windows hackery */
+#if defined(_MSC_VER)
+#  pragma comment(lib,"python27.lib")
+#endif
+
+
 #ifdef __cplusplus
 }
 #endif
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to