forked from mirrors/nixpkgs
Merge pull request #176088 from flomonster/fix-django4-with-gdal
python3Packages.django_4: fix geos_gdal patch syntax error
This commit is contained in:
commit
a2a0b79d0f
|
@ -7,7 +7,7 @@ index 05b5732..91fafee 100644
|
||||||
lib_path = settings.GDAL_LIBRARY_PATH
|
lib_path = settings.GDAL_LIBRARY_PATH
|
||||||
except (AttributeError, ImportError, ImproperlyConfigured, OSError):
|
except (AttributeError, ImportError, ImproperlyConfigured, OSError):
|
||||||
- lib_path = None
|
- lib_path = None
|
||||||
+ lib_path = ""@gdal@/lib/libgdal@extension@"
|
+ lib_path = "@gdal@/lib/libgdal@extension@"
|
||||||
|
|
||||||
if lib_path:
|
if lib_path:
|
||||||
lib_names = None
|
lib_names = None
|
||||||
|
|
Loading…
Reference in a new issue