git-svn-id: https://svn.osgeo.org/grass/grass/trunk@38002 15284696-431f-4ddb-bdfa-cd5b030d7da7
@@ -4,8 +4,10 @@ include $(MODULE_TOPDIR)/include/Make/Vars.make
#compile if PYTHON present:
ifneq ($(USE_PYTHON),)
+ifneq ($(strip $(CXX)),)
SUBDIRS += python
endif
+endif
# doxygen:
DOXNAME=swig