Skip to content

Commit abf0491

Browse files
committed
Fix static xerces build in Actions
1 parent a5e47ed commit abf0491

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,8 +230,11 @@ jobs:
230230
run: |
231231
curl -L -O https://archive.apache.org/dist/xerces/c/3/sources/xerces-c-${{ env.XERCES_VERSION }}.tar.bz2
232232
bzip2 -dc xerces-c-${{ env.XERCES_VERSION }}.tar.bz2 | tar xvf -
233-
chmod a+rw xerces-c-${{ env.XERCES_VERSION }}
233+
234+
sudo chown -R $USER xerces-c-${{ env.XERCES_VERSION }}
235+
234236
cd xerces-c-${{ env.XERCES_VERSION }}
237+
235238
PKG_CONFIG="pkg-config --static" ./configure --without-curl --without-icu --enable-static --disable-shared
236239
make -j2
237240
sudo make install

0 commit comments

Comments
 (0)