yuzu/externals/vcpkg/ports/gdal/0010-symprefix.patch

14 lines
433 B
Diff
Raw Normal View History

2022-07-23 05:01:36 +04:00
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 \