فهرست منبع

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 8 سال پیش
والد
کامیت
61113f08e4
1فایلهای تغییر یافته به همراه4 افزوده شده و 1 حذف شده
  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
 
 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)
 gis_LIBS        = $(GISLIB)