Skip to content
Snippets Groups Projects
Commit 9f1c6807 authored by Rashad Kanavath's avatar Rashad Kanavath
Browse files

[BUG] link proj statically to avoid using dlload #1880

parent 44c5fd6f
No related branches found
No related tags found
3 merge requests!648Ci rcjob,!621Release 7.0 (master),!561Resolve "PROJ linking to GDAL in Superbuild"
Pipeline #2290 passed
......@@ -105,6 +105,7 @@ if(UNIX)
--with-webp=no
--with-threads=yes
--with-freexl=no
--with-proj=yes
--with-libjson-c=internal
${GDAL_SB_CONFIG}
${GDAL_SB_EXTRA_OPTIONS}
......
......@@ -44,6 +44,7 @@ SQLITE_LIB=@SB_INSTALL_PREFIX_NATIVE@\lib\sqlite3.lib
SQLITE_HAS_COLUMN_METADATA=yes
# PROJ.4 stuff
PROJ_FLAGS = -DPROJ_STATIC -DPROJ_VERSION=4
PROJ_INCLUDE = -I@SB_INSTALL_PREFIX_NATIVE@\include
PROJ_LIBRARY = @SB_INSTALL_PREFIX_NATIVE@\lib\proj.lib
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment