diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2011-04-25 19:21:07 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2011-04-25 19:21:07 (GMT) |
commit | 8e6057769373a76fb8cead60f001ced38b635c5c (patch) | |
tree | aa3059350c50f093f0984daad7e9feaddbd2ad15 /Makefile.pre.in | |
parent | b32321aed94bee8ea68fad79ed710670d0c1941c (diff) | |
download | cpython-8e6057769373a76fb8cead60f001ced38b635c5c.zip cpython-8e6057769373a76fb8cead60f001ced38b635c5c.tar.gz cpython-8e6057769373a76fb8cead60f001ced38b635c5c.tar.bz2 |
Issue #10914: Add a minimal embedding test to test_capi.
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r-- | Makefile.pre.in | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in index 7c23177..460c7c7 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -394,7 +394,7 @@ LIBRARY_OBJS= \ # Default target all: build_all -build_all: $(BUILDPYTHON) oldsharedmods sharedmods gdbhooks +build_all: $(BUILDPYTHON) oldsharedmods sharedmods gdbhooks Modules/_testembed # Compile a binary with gcc profile guided optimization. profile-opt: @@ -539,6 +539,9 @@ Modules/Setup: $(srcdir)/Modules/Setup.dist echo "-----------------------------------------------"; \ fi +Modules/_testembed: Modules/_testembed.o $(LIBRARY) $(LDLIBRARY) $(PY3LIBRARY) + $(LINKCC) $(PY_LDFLAGS) $(LINKFORSHARED) -o $@ Modules/_testembed.o $(BLDLIBRARY) $(LIBS) $(MODLIBS) $(SYSLIBS) $(LDLAST) + ############################################################################ # Special rules for object files |