File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -1502,6 +1502,7 @@ function Build-XML2([Platform]$Platform, $Arch) {
15021502 BUILD_SHARED_LIBS = " NO" ;
15031503 CMAKE_INSTALL_BINDIR = " bin/$Platform /$ArchName " ;
15041504 CMAKE_INSTALL_LIBDIR = " lib/$Platform /$ArchName " ;
1505+ CMAKE_POSITION_INDEPENDENT_CODE = " YES" ;
15051506 CMAKE_SYSTEM_NAME = $Platform.ToString ();
15061507 LIBXML2_WITH_ICONV = " NO" ;
15071508 LIBXML2_WITH_ICU = " NO" ;
@@ -1568,6 +1569,7 @@ function Build-CURL([Platform]$Platform, $Arch) {
15681569 BUILD_SHARED_LIBS = " NO" ;
15691570 BUILD_TESTING = " NO" ;
15701571 CMAKE_INSTALL_LIBDIR = " lib/$Platform /$ArchName " ;
1572+ CMAKE_POSITION_INDEPENDENT_CODE = " YES" ;
15711573 CMAKE_SYSTEM_NAME = $Platform.ToString ();
15721574 BUILD_CURL_EXE = " NO" ;
15731575 BUILD_LIBCURL_DOCS = " NO" ;
You can’t perform that action at this time.
0 commit comments