File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -223,7 +223,7 @@ jobs:
223223 /usr/local/lib/libxerces-c*.a
224224 /usr/local/include/xercesc
225225 /usr/local/lib/pkgconfig/xerces-c.pc
226- key : xerces-static-${{ env.XERCES_VERSION }}-${{ runner.os }}
226+ key : xerces-static-${{ env.XERCES_VERSION }}-${{ runner.os }}-fPIC
227227
228228 - name : Build static xerces
229229 if : steps.cache-xerces.outputs.cache-hit != 'true'
@@ -235,7 +235,7 @@ jobs:
235235
236236 cd xerces-c-${{ env.XERCES_VERSION }}
237237
238- PKG_CONFIG="pkg-config --static" ./configure --without-curl --without-icu --enable-static --disable-shared
238+ PKG_CONFIG="pkg-config --static" CFLAGS="-fPIC" CXXFLAGS="-fPIC" ./configure --without-curl --without-icu --enable-static --disable-shared
239239 make -j2
240240 sudo make install
241241
You can’t perform that action at this time.
0 commit comments