Quellcode durchsuchen

ctypes: only build the Python ctypes wrappers for the OGSF and NVIZ libraries when USE_OPENGL is set (https://lists.osgeo.org/pipermail/grass-user/2016-July/074539.html)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@69098 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Neteler vor 8 Jahren
Ursprung
Commit
61113f08e4
1 geänderte Dateien mit 4 neuen und 1 gelöschten Zeilen
  1. 4 1
      lib/python/ctypes/Makefile

+ 4 - 1
lib/python/ctypes/Makefile

@@ -5,7 +5,10 @@ PACKAGE = "grasslibs"
 include $(MODULE_TOPDIR)/include/Make/Other.make
 include $(MODULE_TOPDIR)/include/Make/Other.make
 
 
 MODULES = date gis raster gmath proj imagery vector rtree display stats \
 MODULES = date gis raster gmath proj imagery vector rtree display stats \
-	dbmi raster3d arraystats cluster vedit ogsf nviz segment rowio temporal
+	dbmi raster3d arraystats cluster vedit segment rowio temporal
+ifneq ($(USE_OPENGL),)
+MODULES += ogsf nviz
+endif
 
 
 date_LIBS       = $(DATETIMELIB)
 date_LIBS       = $(DATETIMELIB)
 gis_LIBS        = $(GISLIB)
 gis_LIBS        = $(GISLIB)