aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ports/gdal/CONTROL2
-rw-r--r--ports/gdal/portfile.cmake4
2 files changed, 5 insertions, 1 deletions
diff --git a/ports/gdal/CONTROL b/ports/gdal/CONTROL
index 5df9a7fa2..bf5acc08d 100644
--- a/ports/gdal/CONTROL
+++ b/ports/gdal/CONTROL
@@ -1,5 +1,5 @@
Source: gdal
-Version: 2.4.1-5
+Version: 2.4.1-7
Homepage: https://gdal.org/
Description: The Geographic Data Abstraction Library for reading and writing geospatial raster and vector data.
Build-Depends: proj, libpng, geos, sqlite3, curl, expat, libpq, openjpeg, libwebp, libxml2, liblzma, netcdf-c, hdf5, zlib
diff --git a/ports/gdal/portfile.cmake b/ports/gdal/portfile.cmake
index 61609d3d3..e212a42ed 100644
--- a/ports/gdal/portfile.cmake
+++ b/ports/gdal/portfile.cmake
@@ -324,6 +324,10 @@ if (NOT VCPKG_CMAKE_SYSTEM_NAME OR VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStor
# Copy over PDBs
vcpkg_copy_pdbs()
+
+ if(NOT VCPKG_LIBRARY_LINKAGE STREQUAL "static")
+ file(REMOVE ${CURRENT_PACKAGES_DIR}/lib/gdal204.pdb)
+ endif()
elseif (VCPKG_CMAKE_SYSTEM_NAME STREQUAL "Linux" OR VCPKG_CMAKE_SYSTEM_NAME STREQUAL "Darwin") # Build in UNIX
# Check build system first