Use COMPILETOOL with C_LDSHARED and CXX_LDSHARED

This is consistent with the way this is done for the other backends and
allows to avoid overriding these variables for partialcheck target.

Co-Authored-By: Olly Betts <olly@survex.com>
This commit is contained in:
Vadim Zeitlin 2022-01-04 01:29:21 +01:00
commit cb974ef662
2 changed files with 3 additions and 3 deletions

View file

@ -816,7 +816,7 @@ endif
# partialcheck target runs SWIG only, ie no compilation or running of tests (for a subset of languages)
partialcheck:
$(MAKE) check CC=true CXX=true LDSHARED=true CXXSHARED=true RUNTOOL=true COMPILETOOL=true C_LDSHARED=true CXX_LDSHARED=true
$(MAKE) check CC=true CXX=true LDSHARED=true CXXSHARED=true RUNTOOL=true COMPILETOOL=true
swig_and_compile_cpp = \
$(MAKE) -f $(top_builddir)/$(EXAMPLES)/Makefile SRCDIR='$(SRCDIR)' CXXSRCS='$(CXXSRCS)' \