aboutsummaryrefslogtreecommitdiff
path: root/ports/proj4/fix-sqlite-dependency-export.patch
diff options
context:
space:
mode:
authorOwen Rudge <owen@owenrudge.net>2019-12-20 20:16:46 +0000
committerdan-shaw <51385773+dan-shaw@users.noreply.github.com>2019-12-20 12:16:46 -0800
commitac0d90f680fb0431b4d5e472a1952ea06944c50b (patch)
treec179b9aa56727609667886a4c42e189257236858 /ports/proj4/fix-sqlite-dependency-export.patch
parent19ed64967c4ce360048e52c51df6b7bc1e19bdb5 (diff)
downloadvcpkg-ac0d90f680fb0431b4d5e472a1952ea06944c50b.tar.gz
vcpkg-ac0d90f680fb0431b4d5e472a1952ea06944c50b.zip
[proj4] Update to version 6.2.1; disable exporting symbols for static libraries (#9227)
* [proj4] Update to version 6.2.1; disable exporting symbols for static libraries * Remove deprecated function Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
Diffstat (limited to 'ports/proj4/fix-sqlite-dependency-export.patch')
-rw-r--r--ports/proj4/fix-sqlite-dependency-export.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/ports/proj4/fix-sqlite-dependency-export.patch b/ports/proj4/fix-sqlite-dependency-export.patch
index a7f051699..774d1acfd 100644
--- a/ports/proj4/fix-sqlite-dependency-export.patch
+++ b/ports/proj4/fix-sqlite-dependency-export.patch
@@ -1,13 +1,13 @@
diff --git a/src/lib_proj.cmake b/src/lib_proj.cmake
-index 5a0a807..f7bfffd 100644
+index 2e90f98f..dc171e91 100644
--- a/src/lib_proj.cmake
+++ b/src/lib_proj.cmake
-@@ -439,7 +439,7 @@ if(USE_THREAD AND Threads_FOUND AND CMAKE_USE_PTHREADS_INIT)
+@@ -441,7 +441,7 @@ if(USE_THREAD AND Threads_FOUND AND CMAKE_USE_PTHREADS_INIT)
endif()
include_directories(${SQLITE3_INCLUDE_DIR})
-target_link_libraries(${PROJ_CORE_TARGET} ${SQLITE3_LIBRARY})
+target_link_libraries(${PROJ_CORE_TARGET} PUBLIC ${SQLITE3_LIBRARY})
- if(MSVC)
+ if(MSVC AND BUILD_LIBPROJ_SHARED)
target_compile_definitions(${PROJ_CORE_TARGET}