aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArmin Rigo <arigo@tunes.org>2014-08-07 13:23:03 +0200
committerArmin Rigo <arigo@tunes.org>2014-08-07 13:23:03 +0200
commit2edd9c1efa42fec409d97b0157c953061dddf858 (patch)
tree6bb81419b7ec2bab20d117bff2f20e86f5fd60a1 /include
parentUse the more precise AnnotatorError in this new place (diff)
downloadpypy-2edd9c1efa42fec409d97b0157c953061dddf858.tar.gz
pypy-2edd9c1efa42fec409d97b0157c953061dddf858.tar.bz2
pypy-2edd9c1efa42fec409d97b0157c953061dddf858.zip
Add python27.lib automatically, so MSVC users need not specify the .lib
file in their Makefile
Diffstat (limited to 'include')
-rw-r--r--include/PyPy.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/PyPy.h b/include/PyPy.h
index d3313ebf19..c5f667b09e 100644
--- a/include/PyPy.h
+++ b/include/PyPy.h
@@ -53,6 +53,12 @@ int pypy_execute_source(char *source);
int pypy_execute_source_ptr(char *source, void* ptr);
+/* Windows hackery */
+#if defined(_MSC_VER)
+# pragma comment(lib,"python27.lib")
+#endif
+
+
#ifdef __cplusplus
}
#endif