Skip to content

Commit

Permalink
Conditionally remove/replace xlocae.h
Browse files Browse the repository at this point in the history
  • Loading branch information
rollbear committed Jul 10, 2024
1 parent 91f3317 commit f802fec
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions common/install-glibc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,12 @@ pushd glibc/build
make -j 4
make -j 4 install
popd
rm /usr/include/xlocale.h
ln -s /usr/include/locale.h /usr/include/xlocale.h
[ ! -e /usr/include/xlocale.h ] || { \
rm /usr/include/xlocale.h \
ln -s /usr/include/locale.h /usr/include/xlocale.h \
}
apt remove -y gawk bison texinfo gcc
apt autoremove -y
rm -rf glibc

}

0 comments on commit f802fec

Please sign in to comment.