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) {
1502
1502
BUILD_SHARED_LIBS = " NO" ;
1503
1503
CMAKE_INSTALL_BINDIR = " bin/$Platform /$ArchName " ;
1504
1504
CMAKE_INSTALL_LIBDIR = " lib/$Platform /$ArchName " ;
1505
+ CMAKE_POSITION_INDEPENDENT_CODE = " YES" ;
1505
1506
CMAKE_SYSTEM_NAME = $Platform.ToString ();
1506
1507
LIBXML2_WITH_ICONV = " NO" ;
1507
1508
LIBXML2_WITH_ICU = " NO" ;
@@ -1568,6 +1569,7 @@ function Build-CURL([Platform]$Platform, $Arch) {
1568
1569
BUILD_SHARED_LIBS = " NO" ;
1569
1570
BUILD_TESTING = " NO" ;
1570
1571
CMAKE_INSTALL_LIBDIR = " lib/$Platform /$ArchName " ;
1572
+ CMAKE_POSITION_INDEPENDENT_CODE = " YES" ;
1571
1573
CMAKE_SYSTEM_NAME = $Platform.ToString ();
1572
1574
BUILD_CURL_EXE = " NO" ;
1573
1575
BUILD_LIBCURL_DOCS = " NO" ;
You can’t perform that action at this time.
0 commit comments