pineapple/externals/vcpkg/ports/gdal/0010-symprefix.patch
2022-07-23 03:01:36 +02:00

13 lines
433 B
Diff
Executable file

diff --git a/gdal/makefile.vc b/gdal/makefile.vc
index 9de546c..56f617d 100644
--- a/gdal/makefile.vc
+++ b/gdal/makefile.vc
@@ -27,7 +27,7 @@ OGR_INCLUDE = $(OGR_BASE_INCLUDE) \
CPPFLAGS = $(CPPFLAGS) -DGNM_ENABLED
!ENDIF
-!IF DEFINED(STDCALL) && !DEFINED(WIN64)
+!IF DEFINED(STDCALL) && !DEFINED(WIN64) && "$(SYM_PREFIX)" == "_"
BASE_INCLUDE = /INCLUDE:_GDALSimpleImageWarp@36 \
/INCLUDE:_GDALReprojectImage@48 \