Skip to content

Commit 4bafb5a

Browse files
committed
Fix installation on FreeBSD
For r-lib/pak#790
1 parent 19ac222 commit 4bafb5a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

configure

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,7 @@ else
2727
echo
2828
echo "This keyring build will not support the libsecret backend."
2929
fi
30+
31+
if [ "$UNAME" = "FreeBSD" ]; then
32+
echo "PKG_CPPFLAGS=-DHAVE_SYS_RANDOM_H" >> src/Makevars
33+
fi

0 commit comments

Comments
 (0)