File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -12,13 +12,13 @@ function get_de_libnames()
12
12
libgmt = haskey (ENV , " GMT_LIBRARY" ) ? ENV [" GMT_LIBRARY" ] : string (chop (read (` gmt --show-library` , String)))
13
13
14
14
@static Sys. iswindows () ? libgdal = " gdal_w64.dll" : (
15
- Sys. isapple () ? (libgdal = string (split (readlines (pipeline (` otool -L $(libgmt) ` , ` grep libgdal` ))[1 ])[1 ])[ 8 : end ] ) : (
15
+ Sys. isapple () ? (libgdal = string (split (readlines (pipeline (` otool -L $(libgmt) ` , ` grep libgdal` ))[1 ])[1 ])) : (
16
16
Sys. isunix () ? (libgdal = string (split (readlines (pipeline (` ldd $(libgmt) ` , ` grep libgdal` ))[1 ])[3 ])) :
17
17
error (" Don't know how to use GDAL this package in this OS." )
18
18
)
19
19
)
20
20
@static Sys. iswindows () ? libproj = " proj_w64.dll" : (
21
- Sys. isapple () ? (libproj = string (split (readlines (pipeline (` otool -L $(libgdal) ` , ` grep libproj` ))[1 ])[1 ])[ 8 : end ] ) : (
21
+ Sys. isapple () ? (libproj = string (split (readlines (pipeline (` otool -L $(libgdal) ` , ` grep libproj` ))[1 ])[1 ])) : (
22
22
Sys. isunix () ? (libproj = string (split (readlines (pipeline (` ldd $(libgdal) ` , ` grep libproj` ))[1 ])[3 ])) :
23
23
error (" Don't know how to use PROJ4 in this OS." )
24
24
)
You can’t perform that action at this time.
0 commit comments