浏览代码

gdal.c: add .so/.dll for GDAL 3.0

Even Rouault 5 年之前
父节点
当前提交
a5bb52301c
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      lib/raster/gdal.c

+ 2 - 0
lib/raster/gdal.c

@@ -105,6 +105,7 @@ static void load_library(void)
 {
     static const char *const candidates[] = {
 # ifdef __unix__
+	"libgdal.so.26", /* GDAL 3.0 */
 	"libgdal.so.20",
 	"libgdal.so.1",
 	"libgdal.1.1.so",
@@ -115,6 +116,7 @@ static void load_library(void)
 	"libgdal1.7.0.so",
 # endif
 # ifdef _WIN32
+	"gdal300.dll",
 	"gdal204.dll",        
 	"gdal203.dll",        
 	"gdal202.dll",