2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-19 16:32:16 +00:00

Fixes empty example

Uses of visual studio were getting a 'unresolved external symbol _mainCRTStartup' because there was no main() being linked into the test_embed.exe. I'm not a bjam expert, but I think that is because the embedding target is an executable (instead of an obj/lib?). I also have no idea if this was a problem on unix or if this fix will affect that platform.
This commit is contained in:
Tom Kent
2015-04-10 19:47:44 -05:00
parent ea87bfee8c
commit 97b0d9737c

View File

@@ -31,7 +31,7 @@ import testing ;
testing.make-test run-pyd : extending test_extending.py : : test_ext ;
# Declare a test of the embedding application
testing.run embedding
testing.run embedding embedding.cpp
: # any ordinary arguments
: script.py # any arguments that should be treated as relative paths
: # requirements