Skip to content

Commit d3c72b1

Browse files
committed
Prevent detection of getrandom when compiling libuuid
1 parent 8c68eb1 commit d3c72b1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

build/lin.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,7 @@ make install
214214
mkdir ${DEPS}/uuid
215215
curl -Ls https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v$(without_patch $VERSION_UUID)/util-linux-${VERSION_UUID}.tar.xz | tar xJC ${DEPS}/uuid --strip-components=1
216216
cd ${DEPS}/uuid
217+
sed -i "s/getrandom/ignore_getrandom/g" configure
217218
./configure --host=${CHOST} --prefix=${TARGET} --enable-shared --disable-static \
218219
--disable-all-programs --enable-libuuid
219220
make install-strip

0 commit comments

Comments
 (0)