1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
Description: Install GDAL plugins in version specific subdirectory.
Author: Francesco Paolo Lovergine <frankie@debian.org>
Last-Update: 2013-07-01
Forwarded: not-needed
--- a/gcore/gdaldrivermanager.cpp
+++ b/gcore/gdaldrivermanager.cpp
@@ -705,7 +705,7 @@ void GDALDriverManager::AutoLoadDrivers(
#ifdef MACOSX_FRAMEWORK
GDAL_PREFIX "/PlugIns");
#else
- GDAL_PREFIX "/lib/gdalplugins" );
+ GDAL_PREFIX "/lib/gdalplugins/2.1" );
#endif
#else
char szExecPath[1024];
--- a/port/cpl_findfile.cpp
+++ b/port/cpl_findfile.cpp
@@ -113,7 +113,7 @@ static FindFileTLS* CPLFinderInit()
#ifdef MACOSX_FRAMEWORK
CPLPushFinderLocation( GDAL_PREFIX "/Resources/gdal" );
#else
- CPLPushFinderLocation( GDAL_PREFIX "/share/gdal" );
+ CPLPushFinderLocation( GDAL_PREFIX "/share/gdal/2.1" );
#endif
#else
CPLPushFinderLocation( "/usr/local/share/gdal" );
|