فهرست منبع

Check for $(CXX)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@38002 15284696-431f-4ddb-bdfa-cd5b030d7da7
Glynn Clements 16 سال پیش
والد
کامیت
2116daca54
1فایلهای تغییر یافته به همراه2 افزوده شده و 0 حذف شده
  1. 2 0
      swig/Makefile

+ 2 - 0
swig/Makefile

@@ -4,8 +4,10 @@ include $(MODULE_TOPDIR)/include/Make/Vars.make
 
 
 #compile if PYTHON present:
 #compile if PYTHON present:
 ifneq ($(USE_PYTHON),)
 ifneq ($(USE_PYTHON),)
+ifneq ($(strip $(CXX)),)
     SUBDIRS += python
     SUBDIRS += python
 endif
 endif
+endif
 
 
 # doxygen:
 # doxygen:
 DOXNAME=swig
 DOXNAME=swig