Skip to content
Snippets Groups Projects
Commit c047c879 authored by samuela's avatar samuela
Browse files

Fix sed call to work on macOS.

parent 237dc425
No related branches found
No related tags found
Loading
...@@ -19,7 +19,9 @@ function recipe_build { ...@@ -19,7 +19,9 @@ function recipe_build {
--prefix=/ \ --prefix=/ \
--enable-static \ --enable-static \
cross_compiling=yes cross_compiling=yes
sed -i 's|#define HAVE_GETRLIMIT 1|/* #undef HAVE_GETRLIMIT */|g' config.h
# See https://stackoverflow.com/questions/4247068/sed-command-with-i-option-failing-on-mac-but-works-on-linux.
sed -i'' -e 's|#define HAVE_GETRLIMIT 1|/* #undef HAVE_GETRLIMIT */|g' config.h
make -j"$(nproc)" make -j"$(nproc)"
skip=1 skip=1
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment