plugins/python/regress: load the python plugin dynamically
instead of linking with it.
This commit is contained in:

committed by
Todd C. Miller

parent
d9af3b2d3a
commit
40f2189586
@@ -210,11 +210,11 @@ cleandir: realclean
|
||||
|
||||
check: $(TEST_PROGS)
|
||||
@if test X"$(cross_compiling)" != X"yes"; then \
|
||||
./check_python_examples; \
|
||||
./check_python_examples ".libs/python_plugin.so"; \
|
||||
fi
|
||||
|
||||
check_python_examples: $(CHECK_PYTHON_EXAMPLES_OBJS) $(LIBPYTHONPLUGIN)
|
||||
$(LIBTOOL) $(LTFLAGS) --mode=link $(CC) -o $@ $(CHECK_PYTHON_EXAMPLES_OBJS) $(LDFLAGS) $(ASAN_LDFLAGS) $(PIE_LDFLAGS) $(SSP_LDFLAGS) $(LIBS) $(LIBPYTHONPLUGIN)
|
||||
$(LIBTOOL) $(LTFLAGS) --mode=link $(CC) -o $@ $(CHECK_PYTHON_EXAMPLES_OBJS) $(LDFLAGS) $(ASAN_LDFLAGS) $(PIE_LDFLAGS) $(SSP_LDFLAGS) $(LIBS)
|
||||
|
||||
# Autogenerated dependencies, do not modify
|
||||
check_python_examples.o: $(srcdir)/regress/check_python_examples.c
|
||||
|
Reference in New Issue
Block a user